Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
IfcOpenBot committed Jul 22, 2024
1 parent fb8423d commit e655be8
Show file tree
Hide file tree
Showing 102 changed files with 1,360 additions and 3,210 deletions.
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

18 changes: 15 additions & 3 deletions _sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ Sections
:doc:`/users/modeling/ifc_modeling`
IFC modeling techniques and concepts.

.. container:: card

:doc:`/users/git_support`
Collaborate on projects using Git

.. container:: card

:doc:`/users/drawing/index`
Expand Down Expand Up @@ -94,8 +99,13 @@ Sections

.. container:: card

:doc:`/users/appendix/index`
Troubleshooting and additional resources.
:doc:`/users/other_addons`
Other complementary add-ons

.. container:: card

:doc:`/users/troubleshooting`
Troubleshooting when things go wrong

.. container:: global-index-toc

Expand All @@ -106,13 +116,15 @@ Sections

users/modeling/interface
users/modeling/ifc_modeling
users/git_support
users/drawing/index
users/structural_analysis/index
users/costing_and_scheduling/index
users/advanced/index
users/tutorials/index
users/user_interface
users/appendix/index
users/other_addons
users/troubleshooting

Get Involved
============
Expand Down
16 changes: 0 additions & 16 deletions _sources/users/appendix/index.rst.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion _static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '0.7.10',
VERSION: '0.7.11',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion _static/scripts/furo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _static/scripts/furo.js.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions _static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Search = {

htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
for (const removalQuery of [".headerlinks", "script", "style"]) {
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
Expand Down Expand Up @@ -328,13 +328,14 @@ const Search = {
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
]);
}
Expand Down
Loading

0 comments on commit e655be8

Please sign in to comment.