Commit Graph

87 Commits

Author SHA1 Message Date
Tim Schaub
b5b3cb7b18 Shorter names 2022-08-15 16:14:03 -06:00
Tim Schaub
73baef60e3 Use short name for exported functions 2022-08-15 16:14:03 -06:00
Tim Schaub
9c0e2f35d1 Shorten long names when creating links 2022-08-15 16:14:03 -06:00
Maximilian Krög
bc65f2d704 Update FontAwesome to v6.1.2 2022-08-13 23:10:31 +02:00
Maximilian Krög
5c4339f367 Remove more IE compatibility 2022-08-12 00:26:25 +02:00
Maximilian Krög
f971393ee0 Correct import statement for default exported methods 2022-08-11 22:40:14 +02:00
Tim Schaub
4d3cb782c8 Remove circular dependency 2022-08-11 11:51:01 -06:00
Tim Schaub
9dff55a8ac Build the website 2022-08-10 10:35:07 -06:00
Maximilian Krög
bb3c5bf144 Use String#startsWith instead of String#indexOf 2022-08-05 01:49:16 +02:00
Maximilian Krög
0b945f2321 Use includes instead of indexOf 2022-08-05 01:49:01 +02:00
Tim Schaub
973c411082 Merge pull request #13917 from tschaub/doc-style
Style updates for examples and API docs
2022-08-01 05:44:13 -06:00
Tim Schaub
1bd9201fed Style updates for examples and API docs 2022-07-31 19:07:46 -06:00
Tim Schaub
644337184c Remove Google Analytics and cookie consent 2022-07-31 13:47:03 -06:00
Maximilian Krög
14c5e9a7e8 Load api navigation dynamically to reduce needed disk space 2022-01-22 22:29:33 +01:00
Andreas Hocevar
000461993b Add undefined as type when optional and no default 2021-08-12 12:18:51 +02:00
Maximilian Krög
f9ffd75132 dd / dt tag must be inside dl tags 2020-08-23 16:15:50 +02:00
Maximilian Krög
b33b2ce9a4 Don't generate empty nameContainer tag 2020-08-23 16:08:14 +02:00
Maximilian Krög
411d5bfb03 Charset meta tag should be in the first 1024 bytes 2020-08-23 16:08:14 +02:00
Maximilian Krög
477c331a4c Create source code links during apidoc creation 2020-08-23 16:08:14 +02:00
Maximilian Krög
d9bc466f43 Better scroll behaviour for apidocs 2020-08-23 11:18:19 +02:00
Maximilian Krög
5e30b15860 Fix link to workshop / download 2020-08-04 21:47:58 +02:00
Maximilian Krög
e723061f9b Add empty alt tag to logo 2020-07-26 19:31:57 +02:00
Andreas Hocevar
2b23052d23 Mark active nav item 2020-07-26 17:41:16 +02:00
Andreas Hocevar
f70374e453 Make header and menu navigation consistent with web site 2020-07-26 17:15:49 +02:00
jeanpierre
9616dee9f7 Update bootstrap, cleanup css, make pages more responsive 2020-07-23 12:32:27 +02:00
MoonE
353de14624 Update config/jsdoc/api/template/tmpl/navigation.tmpl
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2020-07-17 16:17:07 +02:00
Maximilian Krög
434ac3141f Allow line breaks before slashes in apidoc navigation 2020-07-16 21:51:29 +02:00
Andreas Hocevar
5fdf50c1de No autocomplete for api search field 2020-05-29 08:51:59 +02:00
Maximilian Krög
b07f96e558 Remove link for fullscreen event from navigation 2020-04-10 19:07:25 +02:00
Andreas Hocevar
dd44ecf185 Only document enums when they have API properties 2020-03-28 14:17:56 +01:00
Maximilian Krög
bf2a7bd21a Allow toggel on whole title, add toggle transition 2020-02-22 01:07:41 +01:00
Maximilian Krög
ee8ec6f03a Shorter css paths in navigation 2020-02-21 22:58:05 +01:00
Maximilian Krög
2dec296aae Use css to show / hide items; track matched items
... to improve search speed.

Instead of marking all items as hidden, and then marking the matched
ones again, this keeps track of all matched items and only
removes those that no longer match and adds those that previously did
not match.
2020-02-21 22:57:53 +01:00
Maximilian Krög
1b4ed08bc5 Indent line-wrapped class names 2020-02-21 22:55:32 +01:00
Maximilian Krög
cc561dab8e Allow word wrap before '.' and '~' in class names 2020-02-21 22:55:32 +01:00
Maximilian Krög
7640bcd163 Only match the displayed name of items when searching
Currently the search term is matched against the longname of members.
Because of this most members are matched when searching for a
class / module and also searching for 'mod' matches everything as
all longnames start with 'module:'
2020-02-21 22:55:32 +01:00
Maximilian Krög
f7871d6103 Store search data in lowercase and compare in lowercase
This way we can do the search case-sensitive after only converting
the search term to lowercase.
2020-02-21 22:55:32 +01:00
Andreas Hocevar
32238806a6 Merge pull request #10617 from MoonE/apidoc-performance
Improve apidoc generation performance
2020-02-13 11:03:02 +01:00
Maximilian Krög
300cc282e4 Generate valid html for the apidoc navigation
Only `<li>` can be a direct descendant of `<ul>` tags.
2020-02-10 00:10:05 +01:00
Maximilian Krög
5d922fc53b Cleanup navigation.tmpl and the generated html
- Add a function that is used to generate all four types of member lists.
- Only use one line per list item.
- Don't generate empty `class=""` attributes when item is stable.
- Remove closing `</li>` tag, as is allowed by the html 5 standard.

Overall this reduces the filesize for the generated html pages by ~33%.
2020-02-10 00:09:33 +01:00
Maximilian Krög
0c04293d5f Generate navigation html only once for all pages.
This reduces the time for apidoc generation by ~30%.
2020-02-07 00:08:07 +01:00
Maximilian Krög
9622a8ca93 Fix link in apidocs to ObjectEvent. 2019-12-27 23:35:19 +01:00
Tim Schaub
76333f72ba Merge pull request #10204 from tschaub/doc-layout
Avoid scrolling over navigation
2019-10-27 17:05:39 -06:00
Tim Schaub
0f87df0ade Add the default to the type column 2019-10-26 17:27:04 -06:00
Tim Schaub
1c21853269 Avoid scrolling over navigation 2019-10-26 16:56:14 -06:00
Tim Schaub
27cbbaf97b Less jumpy 2019-10-26 12:30:38 -06:00
Tim Schaub
c0831cc64b Carbon add on API docs 2019-10-26 11:11:04 -06:00
Tim Schaub
10379920d2 Avoid toggling when clicking the title 2019-10-23 10:26:21 -06:00
Andreas Hocevar
4fe16d0281 Tidy up navigation 2019-10-23 13:26:56 +02:00
Kai Volland
3cb0aae796 Removes modulelink 2019-10-08 10:12:29 +02:00