2017 © Pedro Peláez
 

library documentation

Mapbender documentation

image

mapbender/documentation

Mapbender documentation

  • Wednesday, April 4, 2018
  • by eSlider
  • Repository
  • 27 Watchers
  • 4 Stars
  • 2,479 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 3 Open issues
  • 31 Versions
  • 0 % Grown

The README.md

Mapbender Documentation

This is the Mapbender documentation repository., (*1)

You can find the compiled pages of the latest released version at https://doc.mapbender.org/. Other versions of the documentation are also available at https://docs.mapbender.org/., (*2)

The sources are on Github., (*3)

The website code is generated using Sphinx, therefore the documentation source is written in Restructured Text., (*4)

To build the website locally, you need to install Sphinx first. Install it in Debian-based distributions via, (*5)

sudo apt-get install sphinx-common python3-sphinx
sudo apt-get install pip3
sudo pip3 install sphinxcontrib-phpdomain
sudo pip3 install sphinx-rtd-theme
sudo pip install sphinx-notfound-page
sudo pip install sphinx_copybutton

You can then build the documentation by running:, (*6)

make

How to build the documentation

cd /data
git clone git@github.com:mapbender/mapbender-documentation
cd mapbender-documentation
git checkout master

sphinx-build . _build -A version=3.3

ln -s /data/mapbender-documentation/_build/ /var/www/html/mb-doc

http://localhost/mb-doc/

If you want rebuild the documentation, delete the old version before
rm -rf _build

How to participate in the documentation

To participate in the documentation, create a fork and submit a pull request with your changes. In your fork, write new content, e.g.:, (*7)

  cd /mapbender-documentation/en/elements/basic # Let's assume that you want to create a docs page that is part of the Mapbender CoreBundle. Switch to the folder where your file should be located.
  cp overview.rst basic/add_wms.rst  # Create a rst-file. E.g., copy the overview.rst as template for your add_wms.rst documentation file.
  # Write the documentation: keep it short and simple. Use the structure of the document.
  sphinx-build . _build -A version=3.3.0 # Build the documentation locally to see how your documentation looks like. Adjust the version number (if necessary).
  ln -s /data/mapbender-documentation/_build/ /var/www/html/mb-doc # Create a symlink from your Sphinx build folder to your Apache web server to test the documentation locally.

Now, take a look at the documentation page in your browser. Is everything ok? Are any changes needed? If not, you can create a pull request to add your reviewed changes into the documentation., (*8)

Rules

Below you'll find some basic conventions about documentation writing., (*9)

Create crosslinks to refer to another documentation page with a label. Labels that refer to a page are always in the first line of the file. Feel free to add labels above headings, if you want to refer to these instead., (*10)

    .. _activity_indicator:

Add the crosslink to your documentation text section like this:, (*11)

    After this text is a link to :ref:`activity_indicator`.

Note that German labels always use the _de suffix., (*12)

Images (figures)

Images for the documentation are located at mapbender-documentation/figures, (*13)

  • Create images with size 800 x 600px
  • Have a look at quickstart.rst to learn about image referring
  • For elements, use elementname.png and elementname_configuration.png as name. If you also provide german image files, please keep the names and create two more images in the de folder.

Languages

The two fully supported languages (i.e.: en - english, de - german) should have the same file structure, that is:, (*14)

  /mapbender-documentation
    index.rst          # refers to the different languages
    /figures           # images that are included in the documentation
    /de                # German file locations
      ...
    /en                # English file locations
      index.rst        # refers to TheBook, Developer's Book & the Bundle Documentation
      bundles.rst      # lists the chapters of this category - refers to rst files
      development.rst  # lists the chapters of this category - refers to rst files
      /architecture
      /development
          ....
      /elements
          /backend
          /basic
          ....

Have fun!, (*15)

The Versions

04/04 2018

dev-feature/printclient-feature-data-print

dev-feature/printclient-feature-data-print

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

20/03 2018

dev-feature/translation

dev-feature/translation

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

22/02 2018

dev-feature/rtd_theme

dev-feature/rtd_theme

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

22/02 2018

dev-enhancement/editorconfig

dev-enhancement/editorconfig

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

20/02 2018

dev-release/3.0.6

dev-release/3.0.6

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

20/02 2018

dev-enhancement/configs

dev-enhancement/configs

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

20/02 2018

dev-feature/searchrouter_stylemap_temporary

dev-feature/searchrouter_stylemap_temporary

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

02/02 2018

dev-fix/typos_grammar

dev-fix/typos_grammar

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

02/02 2018

dev-enhancement/gitignore_extended

dev-enhancement/gitignore_extended

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

01/02 2018

dev-fix/searchRouter

dev-fix/searchRouter

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

24/01 2018

dev-feature/coordinates-utility-svit

dev-feature/coordinates-utility-svit

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

24/01 2018

dev-enhancement/661_new_structure

dev-enhancement/661_new_structure

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

23/01 2018

dev-feature/layerordering

dev-feature/layerordering

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

23/01 2018

dev-feature/workshop-stylebundle

dev-feature/workshop-stylebundle

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

23/01 2018

dev-fix/osgeologo

dev-fix/osgeologo

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

20/12 2017

dev-feature/coordinate-utility

dev-feature/coordinate-utility

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

20/12 2017

dev-feature/307

dev-feature/307

Mapbender documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

14/09 2017

dev-feature/search-digitizer

dev-feature/search-digitizer

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

06/09 2017

dev-feature/extended_doku

dev-feature/extended_doku

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

18/08 2017

dev-master

9999999-dev

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

08/08 2017

dev-doku/ms4w

dev-doku/ms4w

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

04/08 2017

dev-feature/ldap

dev-feature/ldap

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

21/07 2017

dev-release/3.0.7

dev-release/3.0.7

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

21/07 2017

dev-release/3.1.0

dev-release/3.1.0

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

19/07 2017

v3.0.6.2

3.0.6.2

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

05/05 2017

3.0.6.0

3.0.6.0

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

27/02 2017

dev-hotfix/bundle-creation

dev-hotfix/bundle-creation

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

21/02 2017

dev-fix/png2jpeg

dev-fix/png2jpeg

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

17/01 2017

dev-feature/print-transparent-background

dev-feature/print-transparent-background

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

29/09 2016

dev-feature/printclient-legendposition

dev-feature/printclient-legendposition

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender

14/08 2016

dev-restructure

dev-restructure

Mapbender3 documentation

  Sources   Download

MIT

The Requires

 

by Astrid Emde

documentation mapbender