Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Decidim Developer Documentation

What is this?

This is the internal Decidim documentation. If you want to see it in a nice UI you can do it at the Decidim Documentation Site. Some of the sections are available on Decidim Documentation repository.

How this works?

This is made with Antora. It uses AsciiDoc mark-up document format. It is pretty similar to Markdown, although is more standarized and can do more complex things. Read more about Markdown vs AsciiDoc.

If you want to convert from Markdown to AsciiDoc:

  1. online pandoc converter or

  2. using kramdoc:

gem install kramdown-asciidoc
kramdoc --format=GFM --output=your-doc.adoc --wrap=ventilate your-doc.md

The nice thing about Antora is that you can have multi-repositories for your documentation, so we have some technical sections in this repository (like Install, Customize and Develop) and other sections that are not for developers or system administrators on the other repository.

Local development

If you want to try changes in this folder and how it’d be shown in Decidim Documentation site, you need to do these next steps:

  1. Clone the repository

  2. Install dependencies

  3. Change the antora-playbook.yml url key in source

  4. Build the antora playbook

  5. Open the generated website with your web browser

For instructions on how to clone the repository, install dependencies, build the antora playbook and open the generated website, see Decidim’s documentation repository README file.

Regarding "3. Change the antora-playbook.yml url key in source", if this is the configuration at antora-playbook.yml:

   - url: https://github.com/decidim/decidim
     start_path: docs
     branches: develop

Then the result would be:

   - url: /home/youruser/Work/decidim/decidim
     start_path: docs
     branches: develop

If building locally does not show any change, then check also that the branch corresponds with the one that you are working locally.

For adding a new link in the sidebar you need to add it in nav.adoc file