Code Monkey home page Code Monkey logo

documentation-2's Introduction

Nextcloud Documentation

Documentation is published on https://docs.nextcloud.com. To edit it yourself, you need to tinker a bit with Git and Sphinx. See the Style Guide for formatting and style conventions.

Manuals

This repository hosts three manuals:

  • Users' Manual
  • Administration Manual
  • Developers Manual

Please work in the appropriate branch: stable-branches are for the respective release (e.g. 14.0 or 15.0), master is the latest version.

Please wrap lines at 80 characters.

Note

configuration_server/config_sample_php_parameters.rst is auto-generated from the core config.sample.php file; changes to this file must be made in core https://github.com/nextcloud/server/tree/master/config

Spelling and Capitalization Conventions

As this grows it may be moved to its own page.

  • Nextcloud App Store
  • synchronize
  • Web (Web page, Web site)

License

All documentation in this repository is licensed under the Creative Commons Attribution 3.0 Unported license (CC BY 3.0).

Style

Source files are written using the Sphinx Documentation Generator. The syntax follows the reStructuredText style, and can also be edited from GitHub.

Editing

Contributing to the documentation requires a Github account. Make sure you are working in the correct branch for your version of Nextcloud or client apps. If your edits pertain to multiple manual versions, be prepared to backport as needed.

To edit a document, you can edit the .rst files on your local system, or work directly on Github. The latter is only suitable for small fixes and improvements because substantial editing efforts can better be controlled on your local PC.

The best way is to install a complete Sphinx build environment and work on your local PC. You will be able to make your own local builds, which is the fastest and best way to preview for errors. Sphinx will report syntax errors, missing images, and formatting errors. The Github preview is not complete and misses many mistakes. Create a new branch against the master or stable branch you are editing, make your edits, then push your new branch to Github and open a new PR.

To edit on Github, fork the repository (see top-right of the screen, under your username). You will then be able to make changes easily. Once done, you can create a pull request and get the changes reviewed and back into the official repository.

When editing either on your own local PC or on Github, be sure to sign of commits, to certify adherence to the Developer Certificate of Origin, see https://github.com/probot/dco . Your commit messages need to have, the name and email address of the contributor.

Signed-off-by: Awesome Contributor <[email protected]>

If using the command line and your name and email are configured, you can use

git commit -s -m 'Commit message'

In both settings be sure that your email address matches that in your Github profile, which if you have privacy enabled will be [email protected]

Translations

[Help translate the documentation](https://www.transifex.com/nextcloud/nextcloud-user-documentation/dashboard/).

For developers that want to ease the translation process, please read [this documentation](https://docs.transifex.com/integrations/sphinx-doc).

Building

  1. Install pipenv - https://pipenv.readthedocs.io/en/latest/
  2. Create a Python environment (typically inside this repository): pipenv --python 3.8
  3. Change into the environment: pipenv shell
  4. Install the dependencies pip install -r requirements.txt
  5. Now you can use make ... to build all the stuff - for example make html to build the HTML flavor of all manuals

To change into this environment you need to run pipenv shell to launch the shell and to exit you can use either exit or Ctrl + D.

When editing the documentation installing sphinx-autobuild though pip can be helpful. This will watch file changes and automatically reload the html preview:

  1. Install pip install sphinx-autobuild
  2. Enter the documentation section cd user_manual
  3. Watch for file changes make SPHINXBUILD=sphinx-autobuild html
  4. Open http://127.0.0.1:8000 in the browser and start editing

Icons

To compile and update the icons list in the designer manual, you will also need

  1. inkscape
  2. sass
  3. unzip
  4. wget

documentation-2's People

Contributors

morrisjobke avatar bernhardposselt avatar transifex-integration[bot] avatar skjnldsv avatar github-actions[bot] avatar nickvergessen avatar danimo avatar dietmaroc avatar jospoortvliet avatar mariusbluem avatar lukasreschke avatar rullzer avatar christophwurst avatar juliushaertl avatar blizzz avatar vgezer avatar wiswedel avatar deepdiver1975 avatar raydiation avatar wakeup avatar j-ed avatar kesselb avatar schiessle avatar mmattel avatar vasyugan avatar randolfcarter avatar josh4trunks avatar keyboardmidas avatar nextcloud-bot avatar butonic avatar

Watchers

James Cloos avatar  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.