https://github.com/maliayas/sublimetext_documentation
Daily unofficial mirror of the ST documentation
https://github.com/maliayas/sublimetext_documentation
git-scraping sublime-text
Last synced: 3 months ago
JSON representation
Daily unofficial mirror of the ST documentation
- Host: GitHub
- URL: https://github.com/maliayas/sublimetext_documentation
- Owner: maliayas
- Created: 2016-06-22T22:26:33.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-08T10:16:52.000Z (over 1 year ago)
- Last Synced: 2025-03-08T11:22:56.977Z (over 1 year ago)
- Topics: git-scraping, sublime-text
- Language: HTML
- Homepage: https://www.sublimetext.com/docs/3/
- Size: 1.27 MB
- Stars: 8
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sublime Text Documentation Mirror
This repo tracks the changes in
[Sublime Text documentation](https://www.sublimetext.com/docs/index.html).
The source is automatically fetched daily and if something new is found, it gets
committed automatically. Then I review it and push to this repo manually.
I create git tags for notesworthy commits, so you can subscribe to the
[tags](https://github.com/maliayas/SublimeText_Documentation/tags)
## Update Script
The script that fetches fresh content and updates the git repo is below. The
operation stands on `wget`.
```sh
# Delete existing files.
rm -rf www.sublimetext.com
# Download complete web page.
wget \
--mirror \
--no-parent \
--page-requisites \
--convert-links \
--continue \
--adjust-extension \
--user-agent="" \
--execute="robots=off" \
--wait=1 \
--append-output="mirror.log" \
--no-verbose \
--max-redirect=0 \
https://www.sublimetext.com/docs/index.html
# Commit if there is something new.
git add .
git commit -m "Update ($(date +%Y-%m-%d))"
```