18850814d1
List of major releases is removed from preface.rst: the intention of this table is to track revisions of documentation for the current major release. Change-Id: If0d87ccfdcb9b312174a6e1ddeefa03dd38f253f |
||
---|---|---|
_fonts | ||
_images | ||
_static | ||
_templates | ||
contents | ||
pages | ||
relnotes | ||
.gitignore | ||
.gitreview | ||
common_conf.py | ||
conf.py | ||
contents.rst | ||
eula.rst | ||
index.rst | ||
install-guide.rst | ||
LICENSE | ||
Makefile | ||
operations.rst | ||
pre-install-guide.rst | ||
README.md | ||
reference-architecture.rst | ||
release-notes.rst | ||
requirements.txt | ||
terminology.rst | ||
user-guide.rst |
Mirantis OpenStack Documentation
This repository contains the Mirantis OpenStack user and administrator guides. For more details, see the Mirantis OpenStack portal.
Contributing
We welcome all people who are interested in helping our Documentation team to improve our documentation. There are no formal membership requirements, so feel free to hop in. The best way to contibute is to fork our repository, do your changes and send us a Pull Request. You are invited to contribute any type of contribution like new ideas, testing, and even deployment scripts.
We also have an IRC channel at #fuel
& #fuel-dev
on irc.freenode.net
where you can ask questions and give feedback.
Prerequisites
Sphinx Documentation Generator must be installed to build the documentation. Please note that easy_install is a component of Python's Setup Tools package, which is commonly an optional install on most distributions.
To get started, you need to install all necesasary tools:
sudo apt-get install git python-pip python-dev make imagemagick libjpeg-dev inkscape
Among other things that installs ImageMagick and Inkscape.
And Sphinx necessary extensions:
sudo pip install -r requirements.txt
In addition to these eggs you will need to install PlantUML
To install PlantUML run this wget process:
sudo wget \
http://sourceforge.net/projects/plantuml/files/plantuml.jar/download \
-O /sbin/plantuml.jar
PlantumUML requires java: sudo apt-get install openjdk-7-jre
We use Inkscape to edit SVG images and convert them to PDF but you may use any other SVG-capable tool you like. We're not picky.
Building
To build a guide in HTML format, go to its directory and then run the
make
command in that directory, like so:
make html
To generate the PDF file run this:
make pdf
You will find generated HTML documentation at:
_build/html
You will find generated PDF documentation at:
_build/pdf
Reviewer's Checklist
Checks for commit message:
-
The goal and extent of the change should be described in the commit message.
-
If the commit is related to a LaunchPad bug, it should have "Closes-Bug: nnnnnnn" line in the commit message. Likewise, "blueprint name-of-the-blueprint" for a commit related to a blueprint. Most non-trivial commits should have such references.
Checks for content changes:
-
For every block of content that is removed, there should be either a block that replaces it, or an explanation in the commit message why that block is no longer needed.
-
Confirm that the new content is approved by a technical expert in the relevant area.
-
Check that the content is in the right document and the right context. Deployment of Fuel itself is described in the Installation Guide; deployment of Mirantis OpenStack using Fuel, in User Guide; post-deployment operation of Mirantis OpenStack, in Operations Guide; and so on.
Checks for structural changes:
-
For any removed file (including original path in a move or rename), grep for the file name through all rst files and confirm that no stale references to the file are left behind.
-
For any added file (including new path in a move or rename), confirm that the new path is referenced in a way that will get it included in at least one document.
Testing the change locally:
-
Download the branch: git review -d
-
Check that it's based on the current tip of the master branch, look for "origin/master" next to commit hash in the output of: git log --graph --decorate
-
If it's not, check if it can be rebased onto master cleanly: git rebase --onto master HEAD^
-
Build HTML and PDF versions as described above. If rebase was necessary, build from the rebased version: you want to see what the result of the merge into master will look like
-
Check that the count of warnings reported by 'make pdf' hasn't increased relative to master.
-
Check that all sections touched by the change show up in the table of contents in the right place and at the right nesting level.
Finally, go through all changes line by line and ask yourself: what is the purpose of this change? Is that related to the description of the review given in the commit message? Could it be accidental or result of a merge error during rebase?