Ops School Curriculum
=====================
The current documentation based on these sources can be seen at:
Welcome!
If you have arrived here, you are probably interested in helping out. So thank you for your time.
Things you should know:
- This project is written in reStructuredText
- Hosted by Read the Docs
- Tested by rendering in Sphinx on Travis CI
If you are looking to add content, fix formatting, syntax, typos or other wonderful things, please follow this process:
- Read the Style Guide
- Install Sphinx:
pip install -r requirements.txt(This is best done in a virtual environment.) - Fork the
opsschool/curriculumrepository to your own account - Check out a branch to make your changes on:
git checkout --branch - Execute
make htmlto build the docs in to_build/ - Make your changes
- Execute
make htmlagain and verify your changes don't cause any warnings/errors - Commit with a descriptive message, and submit a pull request from your branch to
master - One of the editors will review the change, and either merge it or provide some
If you submit a pull request and would like to have your name associated with
the project, add it to the meta/contributions.rst file!
Some cool things:
vim-commoncontains a reStructuredText syntax highlighter- The [Emacs support][emacs] via rst-mode comes as part of the docutils package
/docutils/tools/editors/emacs/rst.el
[emacs]: http://docutils.sourceforge.net/docs/user/emacs.html
Note about internal links -------------------------
When creating a link to another page inside the curriculum, use Sphinx's built-in cross-reference mechanisms to achieve this.
Examples:
- linking to a top-level document such as "Text Editing 101" should be done
See :doc:text_editing_101 for details...
where the name provided is the RST file path. The title will be linked to the document like so:
See Text Editing 101 for details...
- linking to a reference point, such as a sub-topic on a page should be done by
.. _gnu-screen:
GNU Screen ----------
and using this inline anywhere in the docs like so:
See :ref:gnu-screen for more details.
The sub-topic's title will be replaced in the hyperlink as well.
After modifications to links, please run make linkcheck to see the status of
all the links in the docs.
More on cross-referencing can be read in the Sphinx Docs.