Giter Club home page Giter Club logo

nethvoice-docs's Introduction

NethVoice documentation

Available documents:

  • admin-manual

Inside each document directory there are some specials files:

  • conf.py: Sphinx configuration
  • Makefile: Sphinx build makefile
  • index.rst: document structure

All other .rst files are chapters of the manual. If you wish to add a new chapter, create a new file and add it to the index.rst file.

Branches

The manual should be develped on master branch and merged to current released version.

Available branches:

  • master: developing branch
  • v11: NethVoice 11
  • v14: NethVoice 14

Alpha branches are marked by appending a to the branch name, eg: v14a.

Beta branches are marked by appending b to the branch name, eg: v14b.

How to contribute

The easiest way to contribute is by forking and editing the repository directly on GitHub:

  • Create a GitHub account if you don't already have it
  • Go to https://github.com/nethesis/nethvoice-docs and fork the project
  • You can now edit any page using GitHub web interface and see a live preview of the output
  • When you're done, simply create a new pull request
  • A new automatic build is launched after the pull request is merged by a developer

You can also use the traditional way by cloning nethvoice-docs repository (https://github.com/nethesis/nethvoice-docs ) to your machine and sending patches to the mailing list.

While editing, please follow below guidelines.

Editing guidelines

The document must start with a title such as

==============
Document title
==============

Next headers levels are:

First level
===========

Second level
------------

Third level
^^^^^^^^^^^

Fourth level
~~~~~~~~~~~~

Use the * character for unordered list

* First element
* Second element

Use a definition list when describing fields

My field
    This is my description

A field description can also contain a bullet list

My field
    This is my description

    * First element
    * Second element

Highlight important words

This is and *important* word.

Add notes with

.. note:: Highlight this text

Add warnings with

.. warning:: Warning text fragments

You can find more info about RST Inline Markup here: rst-cheatsheet

Do not use NethVoice name inside documentation. Any time you need to add the product name, use the product macro:

|product| has this amazing feature!

Output will be:

NethVoice has this amazing feature!

The same applies to download_site macro.

Use semantic markup whenever possible. Recommended RST roles are:

  • guilabel
  • file
  • command
  • menuselection

Remember to emphasize system object with :dfn:, only the first time you mention them inside a section. For example if you are naming a system user:

The :dfn:`admin` user is mighty powerful.

Also take care of indexing important content. You must index a word only one time per section:

The :dfn:`admin` user is mighty powerful.
Remember to change the :index:`admin` password.

The output will be a paragraph where the first admin word will be italic, the latter will use standard font but it will be indexed.

See also: http://sphinx-doc.org/markup/inline.html

Use a spell checker program before submitting a pull request. For instance run

hunspell -d en_US <filename>

Build documentation

Whenever there are modifications, a build process will be launched from Read the Docs site.

If you wish to build documentation locally on your machine, make sure to install all Sphinx packages.

First clone the repository, directory and type

cd admin-manual/
make html

Output files will be generated inside the _build directory.

The source language is Italian. To build the English manual:

make -e SPHINXOPTS="-D language='en'" html

Requirements:

pip install sphinx sphinx_rtd_theme sphinx_bootstrap_theme

Localization

The localization workflow is based on Zanata.

https://translate.zanata.org/project/view/nethvoice-docs

Install client

On Fedora 31+:

sudo dnf install python3-zanata-client

To configure the client for the first time see: http://docs.zanata.org/en/release/client/configuration/

Workflow

The source language is Italian. To build the .pot files under _bulid/locale run

make gettext

Upload .pot files to Zanata:

zanata push --push-type source

Download tranlations from Zanata:

zanata pull

Warning

Remember to commit the downloaded translations!

nethvoice-docs's People

Contributors

andrea-marchionni avatar stell0 avatar gsanchietti avatar davideprincipi avatar alepolidori avatar edospadoni avatar tonyco97 avatar ltarmak avatar filippocarletti avatar alefattorini avatar andre8244 avatar viktec 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.