Code Monkey home page Code Monkey logo

start-os-documentation's Introduction

Start9 Documentation

At Start9, we see great value in maintaining clear and accurate documentation for our already simple and friendly products. These docs are a continuous work-in-progress, and we welcome contributions from our partners and customers.

Toolkit

These are the basic tools this project uses:

Markup language

Docs are written in RestructuredText. RestructuredText is a file format for textual data used primarily for technical documentation.

Sphinx

The tool we used to converts restructuredText and Markdown to HTML. Sphinx also has directives and extensions to add additional options for formatting the text.

Scylla Sphinx Theme

A customized version of the theme used by Scylla documentation projects. It also adds a set of custom functionalities and styles.

Multiversion extension

The extension used to build docs for different versions.

Dependencies

Install python3 Install poetry Install pyenv

For installations with macOS:

brew install python3
brew install poetry

Project Setup

  1. Clone this repository and enter the project folder:
git clone https://github.com/Start9Labs/documentation.git && cd documentation
  1. Install theme submodule:
git submodule update --init
  1. Run setup script to install project dependencies:
chmod a+x site/_utils/setup.sh
./site/_utils/setup.sh
  1. Navigate to the site folder and start the project:
cd site
make clean && make preview

Development

When editing these files, begin a livereload environment by running make preview while in the ./site/ directory.

When editing any css or table of contents organization changes, the livereload environment must be ended and make clean run before starting make preview again.

If you edit something inside sphinx-scylladb-theme, you will need to cd into that directory and run npm run build.

Versioning

  • Build for versioning (must be on master) branch: make multiversion
  • To view version metadata: make multiversionpreview

Contributing to the docs

If you notice a mistake in the docs, or you have an idea for improving them, we would like to know about it. You can either fix the mistake yourself and submit a pull request, or you can report the mistake by submitting an issue <https://github.com/Start9Labs/documentation/issues>__ .

Submitting an issue

Click on the "Issues" tab in the top navbar. Provide a good title and describe clearly the mistake or improvement.

Submitting a pull request

Click on the "Pull requests" tab in the top navbar. Select the green "New pull request button" in the top right section. Select your branch for the compare dropdown, and master as the base. Provide an appropriate title and summary of the changes in the pull request description. Changes will be reviewed and merged when satisfactory.

Helpful Resources

Sphinx and RST syntax guides:

http://sphinx-doc.org/rest.html http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html http://www.siafoo.net/help/reST http://thomas-cokelaer.info/tutorials/sphinx/rest_syntax.html https://sublime-and-sphinx-guide.readthedocs.io/en/latest/lists.html

start-os-documentation's People

Contributors

kn0wmad avatar elvece avatar bitcoinmechanic avatar gstart9 avatar mattdhill avatar 13homer13 avatar dominion5254 avatar jadijadi avatar proofofkeags avatar k0gen avatar bblackwo avatar spencerflagg avatar gudnuf avatar remiroz avatar michirem avatar jyegerlehner avatar imyjimmy avatar giahuy98 avatar jholton avatar blu-j avatar garyray-k avatar da-kami avatar dmuck avatar cbergqvist avatar chrisguida avatar benalleng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.