Giter Site home page Giter Site logo

docs's Introduction

SWG Source Documentation

Documentation Status

This repository houses the documentation for SWG Source. The documentation is built using Sphinx and rendered via ReadTheDocs. The browsable documentation is available at docs.swgsource.com which is an alias to the ReadTheDocs swgsource.readthedocs.io site.

Structure and Syntax

Every page in the documentation is housed inside the docs directory. Documentation pages are written using the plain text markup language reStructuredText (the .rst files).

  • How is navigation changed??
  • Documentation pages should be organized into sub-directories by section (top most header) (e.g. all pages under "Getting Started" should go in docs/getting-started). The only files in /docs/ are the index and configuration files.
  • Images should be placed in docs/_images/section (e.g. docs/_images/getting-started/screenshot1.jpg) which can then be referenced in rst like: a. The only files in the root _images folder are system-referenced.
  • For syntax examples for special context blocks like the NOTICE block, see the raw .rst files already in use.
  • Diagram Visualizations are generated from Graphviz. For implementation examples, see the Sphinx Graphviz Extension Documentation.

Editing or Contributing

To contribute, simply add or edit a file in the docs directory and submit via pull request. When a pull request is merged, ReadTheDocs will automatically rebuild the documentation with the new changes and add them to the documents site, so no additional steps are required.

To test your changes locally and render the documentation pages as they will appear when you commit, clone the repository and navigate to the docs folder inside the docs repository (which would be clone-path/docs/docs) and run make html. The compiled files will be placed in _build/html/ where you can open them with your browser locally to preview the changes. GitHub also renders .rst files, but certain syntax will not appear as it would when built by Sphinx and under the ReadTheDocs theme.

Depending on what you're trying to do, you may need to install Sphynx (and Python if you don't have it) via pip install sphinx. If you are using the SWG Source VM, you just need to install Sphinx. You can refer, generally, to the ReadTheDocs Documentation or the Sphinx Documentation to determine how to achieve a specific goal or ask Aconite in the SWG Source Discord.

Bug Reports

If you notice a problem, typo, etc. in any of the documentation, please create a GitHub Issue.

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.