Skip to content
Permalink
Browse files

fix link to blog post

  • Loading branch information
sdpython committed Jun 11, 2016
1 parent 40752db commit dc59d8982b6311b8ca7db4e3eb385cb34e2465af
@@ -0,0 +1,26 @@


.. blogpost::
:title: Make a reference to a blog post
:keywords: reference, blog, post
:date: 2016-06-11
:categories: documentation
:lid: label-to-this-blogpost

Option ``lid`` to the directive ``blogpost``
to specify a label. The documentation can now refer to it.

::
.. blogpost::
:title: Make a reference to a blog post
:keywords: reference, blog, post
:date: 2016-06-11
:categories: documentation
:lid: label-to-this-blogpost
And to add a link:

::
:ref:`label-to-this-blogpost`
@@ -1,6 +1,9 @@
"""
@file
@brief This the documentation of this module (myexample2).
To make a reference to a blog post, just read :ref:`label-to-this-blogpost`.
The following documentation comes from a directive
`runpython <http://www.xavierdupre.fr/app/pyquickhelper/helpsphinx/pyquickhelper/helpgen/sphinx_runpython_extension.html>`_
which outputs documentation on the standard output::
@@ -53,7 +56,6 @@
import project_name
import os
print(os.path.split(project_name.__file__)[-1])
"""
from ..subproject.myexample import myclass

0 comments on commit dc59d89

Please sign in to comment.
You can’t perform that action at this time.