Skip to content

Commit

Permalink
docs(rtd): use internal link targets at the top of each .rst file
Browse files Browse the repository at this point in the history
* Convert the existing internal link to use `:ref:` instead
  • Loading branch information
myii committed Mar 1, 2019
1 parent f5b0216 commit da09528
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _contributing:

How to contribute
=================

Expand Down
4 changes: 3 additions & 1 deletion docs/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _readme:

template-formula
================

Expand Down Expand Up @@ -33,7 +35,7 @@ Contributing to this repo

**Commit message formatting is significant!!**

Please see `CONTRIBUTING <CONTRIBUTING.rst>`_ for more details.
Please see :ref:`contributing <CONTRIBUTING>` for more details.


Available states
Expand Down
2 changes: 2 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _index:

.. ``template-formula`` documentation master file.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Expand Down

0 comments on commit da09528

Please sign in to comment.