Oliver Eyton-Williams
855cc081c6
fix: prevent compression with Accept-Encoding
...
It seems that (apparently randomly) the index.json files are getting
compressed and causing URI.open to fail. Possibly, it's a little
unclear.
Nonetheless, sending the "Accept-Encoding" of "identity" seems to do the
trick.
1 day ago
Simon Legner
6caa5eb1b1
docs:upload no longer requires net/sftp
6 months ago
Simon Legner
8697de8567
thor updates: fix Terminal::Table from terminal-table
...
The newest Thor also contains a Terminal module, causing "uninitialized constant Thor::Shell::Terminal::Table (NameError)"
1 year ago
Oliver Eyton-Williams
b4d1f8c5bd
fix: convert hash to keyword args
1 year ago
Sigve Indregard
28295354d0
fix: download_doc deletes tempfile
...
The download routine in docs.thor did not delete the tarball after completion.
1 year ago
Oliver Eyton-Williams
25893614b3
fix: use URI.open to fetch docs
2 years ago
Paul Sernatinger
2da05d74db
Specs all passing
2 years ago
Simon Legner
961bbeb92b
fix: replace calls to `Dir.exists?` with `Dir.exist?`
2 years ago
Andy Holmes
51cb8984eb
fix: replace calls to `File.exists?` with `File.exist?`
...
This prints warnings about being deprecated, so replace it with the
call that the deprecated function wraps.
See: https://github.com/ruby/ruby/blob/ruby_2_7/file.c#L1752-L1781
2 years ago
Simon Legner
69df9b2c48
docs:download: fix open deprecation
3 years ago
Richard Michael
64bf56e352
Consistent descriptions
4 years ago
Richard Michael
21827a6b69
Adjust `docs:page` version handling
...
- Remove `--version` option
- Add `@|~` version notation, consistent with other commands
4 years ago
Richard Michael
26a1e61a42
Adjust `docs:generate` version handling
...
- Remove `--version` option
- Add `@|~` version notation, consistent with `docs:download`
- Adjust `CONTRIBUTING.md` instructions
4 years ago
Richard Michael
bec0f33b27
Add and use a singular finder, `find_doc()`
4 years ago
Oliver Eyton-Williams
8eee612852
fix: puts, not print
...
Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
4 years ago
Oliver Eyton-Williams
32c94604a6
fix: remove the 'bundle' path segment
4 years ago
Oliver Eyton-Williams
23b84c109e
fix: update comments
4 years ago
Oliver Eyton-Williams
60722327ee
fix: update staging bucket references to prod
4 years ago
Oliver Eyton-Williams
72ac0a2101
fix: s/devdocs.in/devdocs.io/g
4 years ago
Oliver Eyton-Williams
7713074c93
feat: use the new buckets
...
The tarballs are currently getting put into /bundles, but maybe this
isn't necessary
4 years ago
Oliver Eyton-Williams
c6264eb1bf
fix: remove cdn entirely and rely on Cloudflare
4 years ago
Simon Legner
cb6865b0a8
thor updates:check group major/minor updates
4 years ago
Simon Legner
e8b152fa51
thor updates:check --markdown
...
This outputs the results in Markdown for manual versions report updates.
4 years ago
Simon Legner
959f51e6f7
prepare_deploy: report which download has failed
4 years ago
Rick Mac Gillis
33bb85f0e5
Console docs for --all
5 years ago
Jasper van Merle
5b7ad37917
Fix production build and simplify verbose sprites:generate
5 years ago
Jasper van Merle
dc47573a08
Optimize spritesheets using OptiPNG
5 years ago
Jasper van Merle
8fed7b8cae
Update sprites:generate to apply dark icon fix less frequently
5 years ago
Jasper van Merle
5dbb853606
Fix Docker images, sprites:generate and a favicon cors issue
6 years ago
Jasper van Merle
6e917001ce
Fix merge conflicts
6 years ago
Jasper van Merle
1fd1ed9d23
Remove public/icons from .slugignore and remove it later
6 years ago
Jasper van Merle
50cd4e13a3
Fix assets:compile
6 years ago
Jasper van Merle
4ce7dbcfd5
Remove hardcoded username and fix broken methods
6 years ago
Jasper van Merle
f80d07412c
Merge master
6 years ago
Jasper van Merle
11eeadbc0a
Better error handling and added a 15s timeout on HTTP requests
6 years ago
Jasper van Merle
227fbfe70f
Update issue message and issue repository
6 years ago
Jasper van Merle
41e0a138a6
Refactoring and cleaning up
6 years ago
Jasper van Merle
cd43632a2c
Check for updates based on modified date for scrapers without release
6 years ago
Jasper van Merle
6ee1693134
Implement get_latest_version for the remaining scrapers
6 years ago
Jasper van Merle
3dc17a9b29
Finish get_latest_version for 81 scrapers and add uploading functionality
6 years ago
Jasper van Merle
2d1e8aa00c
Add better logging and get_latest_version implementations for 10 scrapers
6 years ago
Jasper van Merle
d0300dd585
Create command to check for updates
6 years ago
Thibaut Courouble
436a98a5c8
Ensure documentation files are present before uploading in thor docs:upload command
6 years ago
Thibaut Courouble
782880210d
Upload documentation files to a freeCodeCamp-owned S3 bucket
6 years ago
Thibaut Courouble
91753ce1f8
Improve "thor docs:page" with --debug option
6 years ago
Thibaut Courouble
083b8e06a3
Improve "thor docs:list --packaged"
6 years ago
Thibaut Courouble
3b39fa747f
Fix "thor docs:upload --packaged" not finding docs whose slug is different than name
6 years ago
Thibaut Courouble
17cddbccaf
Make "thor docs:upload" upload packages to MaxCDN (dl.devdocs.io)
6 years ago
Thibaut Courouble
a8a1020ddf
Add --packaged option to "thor docs:list"
6 years ago
Thibaut Courouble
9e37ff5c8a
Add instrumentation for slow response processing
6 years ago