Thibaut Courouble
63c77322d3
Handle unencoded spaces in link hrefs
9 years ago
Thibaut Courouble
c3b9502657
Set version attributes before evaluating block
...
Ref #25 .
9 years ago
Thibaut Courouble
3df9cfff98
Add support for blank and non-number version names
...
Ref #25 .
9 years ago
Thibaut Courouble
16ddcb100c
Simplify version path separator
...
Ref #25 .
9 years ago
Thibaut Courouble
b67a02ed35
Add version to doc manifest
...
Ref #25 .
9 years ago
Thibaut Courouble
b2d2066d96
Multi-version support
...
Ref #25 .
9 years ago
Thibaut Courouble
bd6e27eca2
Optionally include 'release' and 'links' in docs manifest
9 years ago
Thibaut Courouble
a639aedcd9
Remove index_path and db_path from docs manifest
9 years ago
Thibaut Courouble
e1c0218230
Rename version -> release
9 years ago
Thibaut
3eb5ccb7ea
Raise error and stop scraping on 4xx/5xx status code
9 years ago
Thibaut
6939865137
Finish Dojo scraper
9 years ago
ShaneQful
3465933543
Added dojo to devdocs & ability to define headers in scraper requests
9 years ago
Thibaut
217d5016d0
Fix root redirects stripping the #fragment from the original URL
10 years ago
Thibaut
7b94616502
Add an icon in the sidebar to constrain the width of the UI
...
(only visible when applicable)
10 years ago
Thibaut
b3c569bf6e
Refactor app size/theme methods
10 years ago
Thibaut
02166e0843
Add new sponsors
10 years ago
Thibaut
6ce3aa2667
Always use full-app mode for user-enabled docs
...
Fixes #209 .
10 years ago
Thibaut
4954dc688b
Add permanent URLs for JS and CSS asset bundles
10 years ago
Thibaut
7de19cf800
Make EntryIndex a unique index (don't add the same entry twice)
10 years ago
Thibaut
018628ea7d
Add two-pass redirection rewriter
...
... to avoid having to maintain huge lists of redirects. This works by doing a first pass to detect which internal URL is redirected where, before doing a second (normal) pass that rewrites all these URLs (links) with their final destination. There's a bit of monkey-patching I'm not proud of, but this works(tm).
10 years ago
Thibaut
b29d6ca002
Move doc links to manifest
10 years ago
Thibaut
cf7f446738
Change home_url to a list of links
10 years ago
Thibaut Courouble
4b9256a731
Merge pull request #170 from TrangPham/master
...
Adding Official Url for url scrapped documentations
10 years ago
Thu Trang Pham
642c1cff7d
Make sure that home_url can be nil
10 years ago
Thibaut
0c15e192e2
Add /docs.json route redirecting to the most recent doc manifest on the CDN
...
cc @trollixx
10 years ago
Thibaut
2a5597946a
Bust AppCache on resize
10 years ago
Thibaut
e2afa6e494
Implement resizable sidebar
...
Closes #88 .
10 years ago
Thibaut
ee4509f63e
Add fake docs.json manifest for test environment
10 years ago
Thibaut
33b60acd34
Bust AppCache when changing color theme
10 years ago
Thibaut
e9d9bcd196
Add test suite for back-end app
10 years ago
Thibaut
a59ef1cdb6
Add db_size attribute in doc manifest
10 years ago
Thibaut
456c4cb811
Add Store#size
10 years ago
Thibaut
bc5488faa2
Make docs mtime the greatest of the index and db files' mtime
10 years ago
Thibaut
ca7ff6086e
Exclude docs without a db file from the manifest
10 years ago
Thibaut
ca61a2b746
Add Doc#db_path
10 years ago
Thibaut
5c46eabc67
Output a JSON file containing all the pages' content
10 years ago
Thibaut
e9125c6ec2
Refactor Doc.store_pages
10 years ago
Thibaut
ecf774e22c
Add EntryIndex#blank?
10 years ago
Thibaut
1655a00fb6
Refactor Doc.store_page
10 years ago
Thibaut
ceff86bac4
Set ActiveSupport::TestCase.test_order
10 years ago
Thibaut
a9c8c228bc
Fix default argument assignment for Ruby 2.2
10 years ago
Thibaut
c68133eb8c
Revert "Replace colons with dashes in internal URL paths"
...
This reverts commit d51a6f9042
.
11 years ago
Thibaut
c122caa7c4
Add :skip_link option for ignoring certain links in scrapers
11 years ago
Thibaut
ab1de67032
Update Nokogiri
11 years ago
Glandos
9d1c347550
Fix require usage for active_support in test
11 years ago
Thibaut
bcd4a5b522
Use String#remove
11 years ago
Thibaut
1fc2e6424d
Fix Minitest deprecation warning
11 years ago
Thibaut
d51a6f9042
Replace colons with dashes in internal URL paths
11 years ago
Thibaut
c0be178556
Auto-require gems in the "docs" bundle
11 years ago
Thibaut
864188e24c
Use String#sub instead of String#gsub when possible
11 years ago
Thibaut
b92db88506
Refactor Docs::Scraper
11 years ago
Thibaut
ca06cc7ad9
Implement Docs::Filter#initial_page?
11 years ago
Thibaut
f8298181e9
Implement initial_paths scraper option
11 years ago
Thibaut
5e69d6df5e
Make Docs::FileScraper#request_all accept an array of URLs
11 years ago
Thibaut
cd6057e392
Make Docs::UrlScraper#request_all accept an array of URLs
11 years ago
Thibaut
c6be9b6ae4
Make Docs:Requester#request accept an array of URLs
11 years ago
Thibaut
562a4c74fe
Fix failing Docs::Requester test
11 years ago
Thibaut
95ec3a5dc3
Refactor :trailing_slash option tests
11 years ago
Thibaut
4a2a393ed4
Refactor :follow_links option
11 years ago
Thibaut
bf6c900ca7
Make :skip_links option work with true/false
11 years ago
Thibaut
47eb7eec7f
Make :skip_links option apply to pages instead of individual links
11 years ago
Thibaut
6c8eea1adb
Add :follow_links option to not follow links on select pages
11 years ago
Thibaut
706270d89c
Don't store pages with no entries
11 years ago
Thibaut
9089d03211
Set the default FileScraper::base_url to localhost
11 years ago
Thibaut
d964fd4ca9
Make Docs::URL#relative_path_to work with unqualified URLs
11 years ago
Thibaut
4df387d475
Make Docs::URL#subpath_to work with unqualified URLs
11 years ago
Thibaut
1204390f81
Make Docs::Scraper.root_path inheritable
11 years ago
Thibaut
18986c1814
Going open source
11 years ago