Skip to content

Instantly share code, notes, and snippets.

@foxmask
Created November 13, 2017 15:03
Show Gist options
  • Save foxmask/782393caa76c96b611d8c7cf607f2b4c to your computer and use it in GitHub Desktop.
Save foxmask/782393caa76c96b611d8c7cf607f2b4c to your computer and use it in GitHub Desktop.
index.rst

BACK

.. toctree::
   :maxdepth: 2

.. ifconfig:: delivery_content_ok

    delivery_content

.. ifconfig:: install_delivery_ok

    install_delivery

.. ifconfig:: install_application_server_ok

    install_application_server
@foxmask
Copy link
Author

foxmask commented Nov 13, 2017

pour que ca marche il faut:

BACK
====

.. toctree::
   :maxdepth: 2

   delivery_content
   install_delivery
   install_application_server

puis

dans delivery_content:

.. ifconfig:: delivery_content_ok


   Deploying
   ---------
   blablabla

il faut indenter tout le contenu dans le if
ce qui flingue toute la coloration syntaxique

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment