惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Proofpoint News Feed
V
V2EX
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
The Cloudflare Blog
T
Tailwind CSS Blog
H
Help Net Security
腾讯CDC
爱范儿
爱范儿
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
C
Check Point Blog
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

Backups done right! on restic

restic · Restic 0.19.1 Released restic · Restic 0.19.0 Released restic · Restic 0.18.1 Released restic · REST-server 0.14.0 released restic · Restic 0.18.0 Released restic · Restic 0.17.3 Released restic · Restic 0.17.2 Released restic · Restic 0.17.1 Released restic · Restic 0.17.0 Released restic · REST-server 0.13.0 released restic · Restic 0.16.5 Released restic · Restic 0.16.4 Released restic · Restic 0.16.3 Released restic · Restic 0.16.2 Released restic · Restic 0.16.1 Released restic · Restic 0.16.0 Released restic · REST-server 0.12.1 released restic · REST-server 0.12.0 released restic · Restic 0.15.2 released restic · Restic 0.15.1 Released restic · Restic 0.15.0 Released restic · Restic 0.14.0 Released restic · Restic 0.13.1 Released restic · Restic 0.13.0 Released restic · Rest Server 0.11.0 released restic · Restic 0.12.1 released restic · Restic 0.12.0 released restic · Restic 0.11.0 released restic · restic 0.10.0 released restic · Rest Server 0.10.0 Released
restic · Documentation and Manual
2016-02-24 · via Backups done right! on restic

24 Feb 2016

Documentation in software projects is one of the things most developers hate. It is no secret that the docs always seem to be out of date.

In order to improve this situation for restic, since a few days ago the manual and documentation is part of the main restic repository. Having the documentation in the main repository means that all users have instant access to the exact version of the documentation they’ll need and developers can document new features in the same Pull Request they’re submitting the code.

We chose MkDocs so we can easily write the documentation in Markdown and locally preview it before publishing. The documentation can be viewed locally by running the following command from within the repository:

$ mkdocs serve
INFO    -  Building documentation... 
INFO    -  Cleaning site directory 
[I 160224 21:04:49 server:271] Serving on http://127.0.0.1:8000
[I 160224 21:04:49 handlers:58] Start watching changes
[I 160224 21:04:49 handlers:60] Start detecting changes

Afterwards just visit the printed URL. If you pass the additional parameter --livereload, the browser will automatically refresh after a files was changed. Of course you can also just view the Markdown files in a text editor, without any third-party software. We’ll always try to make the documentation readable in plain text.

Additionally we’ve enabled the awesome Read the Docs service, which allows reading the documentation at https://restic.readthedocs.io/. In the bottom left corner is a small menu which allows switching to a specific version of the documentation. The URL https://restic.readthedocs.io/en/latest/ will always return the docs for the latest master branch.