Commit graph

99 commits

Author SHA1 Message Date
Thibaut Courouble
817dac1c48 Enable HTTP Strict-Transport-Security 2018-11-25 13:17:33 -05:00
Thibaut Courouble
e8d52c9cfd Fix app cache not updating when changing the app's color theme
This is needed because the index page is part of the app cache, and the <html> tag has a different class depending on the theme.
2018-10-10 10:10:19 -04:00
Thibaut Courouble
01bc31859b Fix up switch to CSS variables 2018-10-08 18:08:02 -04:00
Thibaut Courouble
7d3c6bd970 Force HTTPS 2018-10-07 10:28:28 -04:00
Thibaut Courouble
68b80bce36 Generate pretty JSON in docs.json manifest
To make it easier to track changes in Git.
2018-03-25 16:27:53 -04:00
Thibaut Courouble
0725a69af5 Store docs' metadata in meta.json files
To avoid relying on the filesystem for modified times.
2018-03-25 14:52:16 -04:00
Thibaut Courouble
7428645dc1 Improve app loading sequence 2017-09-09 18:16:16 -04:00
Thibaut Courouble
dd8c80060a Fix :follow_links option not doing anything when set to false 2017-07-30 13:07:29 -04:00
Thibaut Courouble
6fc48db8af Improve error logging 2017-07-16 15:41:25 -04:00
Thibaut Courouble
d99bb70afb Fix tests 2017-06-25 23:23:09 -04:00
Thibaut Courouble
ed5a5cadd9 Fix handling of invalid iframe URLs
Fixes #590.
2017-04-22 10:17:51 -04:00
Thibaut Courouble
c1ebb7a0b9 Improve Doc#name and Doc#slug 2017-03-04 10:58:05 -05:00
Andreas Stenius
b36f3f8095 core/doc: make sure name is usable as slug. 2017-03-04 10:50:10 -05:00
Thibaut Courouble
0f238609da UI improvements 2017-02-26 09:59:43 -05:00
Thibaut Courouble
ad044f85d3 Fix keyword search in Firefox and URL search via query param
Fixes #577.
2017-02-19 09:34:59 -05:00
Thibaut Courouble
94470251fe Bump Ruby 2.4.0 2017-01-22 14:40:33 -05:00
Thibaut Courouble
4e41ed9f25 Add <base> support 2017-01-22 10:26:14 -05:00
Thibaut Courouble
6f0214eaf3 Make Docs::Parser return the entire document instead of <body> 2017-01-22 10:22:07 -05:00
Thibaut Courouble
0c8ca4e5fa Add SQLite documentation 2016-12-04 11:26:23 -05:00
Thibaut Courouble
721adf8e21 Don't rewrite data URIs 2016-10-10 11:09:17 -04:00
Thibaut Courouble
82d0725747 Improve ordering of entries and types 2016-09-04 10:46:54 -04:00
Thibaut Courouble
13bd8a07b0 Fix default docs behavior when all docs are disabled
Fixes #424.
2016-06-19 18:21:24 -04:00
Thibaut Courouble
d0802988f1 Decode "~" in url path 2016-06-12 17:58:59 -04:00
Thibaut Courouble
5bb96f804a Require all entries to have a name, path and type 2016-06-05 17:04:34 -04:00
Thibaut Courouble
a59786be2e Change single-doc setup to use data-attribute instead of inline script 2016-06-04 10:09:01 -04:00
nucular
034ecfae72 Replace File.basename in URL#relative_path_to because it doesn't handle special characters in URLs well 2016-05-29 11:04:59 -04:00
Thibaut Courouble
9e1b9ca2a9 Improve MDN/JavaScript scraper 2016-05-01 11:47:40 -04:00
Thibaut Courouble
70b19c238a Sort types/categories by number when they start with a number 2016-04-10 14:09:12 -04:00
Thibaut Courouble
d366e14ea7 Fix Docs::Parse#document? when document has no doctype 2016-04-10 10:16:24 -04:00
Thibaut Courouble
6c9fc464c2 Add :fix_urls_before_parse option for Angular doc 2016-03-26 17:11:19 -04:00
Thibaut Courouble
01517f8c78 Add redirections for deleted docs 2016-03-05 13:41:43 -05:00
Thibaut Courouble
63c77322d3 Handle unencoded spaces in link hrefs 2016-01-30 13:51:06 -05:00
Thibaut Courouble
c3b9502657 Set version attributes before evaluating block
Ref #25.
2016-01-24 16:13:34 -05:00
Thibaut Courouble
3df9cfff98 Add support for blank and non-number version names
Ref #25.
2016-01-24 13:03:04 -05:00
Thibaut Courouble
16ddcb100c Simplify version path separator
Ref #25.
2016-01-24 13:03:03 -05:00
Thibaut Courouble
b67a02ed35 Add version to doc manifest
Ref #25.
2016-01-24 13:03:03 -05:00
Thibaut Courouble
b2d2066d96 Multi-version support
Ref #25.
2016-01-23 13:50:52 -05:00
Thibaut Courouble
bd6e27eca2 Optionally include 'release' and 'links' in docs manifest 2016-01-17 11:52:53 -05:00
Thibaut Courouble
a639aedcd9 Remove index_path and db_path from docs manifest 2016-01-17 09:32:52 -05:00
Thibaut Courouble
e1c0218230 Rename version -> release 2016-01-16 11:15:53 -05:00
Thibaut
3eb5ccb7ea Raise error and stop scraping on 4xx/5xx status code 2015-12-13 15:39:00 -05:00
Thibaut
6939865137 Finish Dojo scraper 2015-11-22 11:59:43 -05:00
ShaneQful
3465933543 Added dojo to devdocs & ability to define headers in scraper requests 2015-11-22 10:28:53 -05:00
Thibaut
217d5016d0 Fix root redirects stripping the #fragment from the original URL 2015-08-09 11:38:52 -04:00
Thibaut
7b94616502 Add an icon in the sidebar to constrain the width of the UI
(only visible when applicable)
2015-08-03 17:08:36 -04:00
Thibaut
b3c569bf6e Refactor app size/theme methods 2015-08-03 17:06:19 -04:00
Thibaut
02166e0843 Add new sponsors 2015-07-12 22:53:47 -04:00
Thibaut
6ce3aa2667 Always use full-app mode for user-enabled docs
Fixes #209.
2015-06-07 16:54:16 -04:00
Thibaut
4954dc688b Add permanent URLs for JS and CSS asset bundles 2015-06-07 15:58:00 -04:00
Thibaut
7de19cf800 Make EntryIndex a unique index (don't add the same entry twice) 2015-04-26 18:25:11 -04:00