Giter VIP home page Giter VIP logo

main's Introduction

linuxmuster.net documentation

https://travis-ci.org/linuxmuster-docs/main.svg?branch=master Documentation Status

The full documentation of linuxmuster.net.

Installation

Clone the repository "main" using git

~$ git clone https://github.com/linuxmuster-docs/main.git  # if you have no ssh-key within github
~$ git clone [email protected]:linuxmuster-docs/main.git # if you have a ssh-key within github

Install sphinx, e.g. under Ubuntu 16.04, do

~$  sudo aptitude -R install git python3-sphinx texlive texlive-latex-extra texlive-lang-german

Make a local copy of your documentation using

~$ cd main
~/main$ make clean
~/main$ make html

Later, if you work again on the repository, update it with

~/main$ git pull

Contribute to the documentation

Fork the repository "main" within the github-webinterface

  • Clone your fork

    ~$ git clone https://github.com/mein-github-konto/main.git docs
    ~$ cd docs
    ~/docs$ make html
  • Make changes in your fork

  • Commit your changes to your fork

    ~/docs$ git commit -a -m"bugfix for bug in ticket #314 ..."
  • Push your changes to your fork on github

    ~/docs$ git push
  • Create a new pull-request on github

  • If you are done and the pull-request was merged, you can delete your fork and create a new one.

Update your fork

Instead of deleting and creating a new fork you can bring your own fork up-to-date the following way:

  • Any changes you made you have to stash away for a while:

    ~/docs$ git stash
  • Add a remote tracking branch:

    ~/docs$ git remote add upstream https://github.com/linuxmuster-docs/main.git
  • Fetch and merge the remote master

    ~/docs$ git fetch upstream
    ~/docs$ git merge upstream/master
  • (If the merge does not end in an fast-forward result, you better delete and refork.) Push your changes into your fork.

    ~/docs$ git push
  • Now you can get your stashed away changes:

    ~/docs$ git stash pop

Translation

We use Transifex to translate the documentation. Get started there!

Build documentation in English

First you have to install sphinx-intl and the transifex-client.

$ pip install sphinx-intl
$ pip install transifex-client

Make sure that sphinx-intl and transifex-client are in your PATH!

Then run to following commands (inside the document root):

$ make gettext
$ tx init
$ sphinx-intl update -p build/locale -l en
$ sphinx-intl update-txconfig-resources --pot-dir build/locale --transifex-project-name official-documentation
$ tx pull -l en
$ make -e SPHINXOPTS="-D language='en'" html

Read the Internationalization chapter in the offical sphinx documentation for a more detailed description.

Further reading

See the documentation on linuxmuster.net.

main's People

Contributors

jolly-jump avatar aloisr avatar cweikl avatar machtdochnix avatar jeffbeck avatar morpweb avatar toheine avatar supergamerx3000 avatar zefanja avatar freeinmind avatar martini412 avatar mathiasrettich avatar yunusemrekirmizikan avatar baumhof avatar larskanis avatar lmn-docs-bot2 avatar rolandbberlin avatar lmn-docs-bot 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.