Skip to content

Commit

Permalink
doc: migrate link-roles.py to sphinx.ext.extlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
yanbe committed Sep 20, 2017
1 parent cf8d887 commit 4a26be1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 43 deletions.
4 changes: 2 additions & 2 deletions docs/api-reference/pcd8544/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ ESP32-PCD8544 is dedicated driver implementation of PCD8544 LCD controller (a.k.
Application Examples
--------------------

* "Hello world" example - `hello_pcd8544 <https://github.com/yanbe/esp32-pcd8544-examples/tree/master/examples/hello_pcd8544>`_
* Draw lines via frame buffer - `draw_lines <https://github.com/yanbe/esp32-pcd8544-examples/tree/master/examples/draw_lines>`_
* "Hello world" example - :example:`hello_pcd8544`
* Draw lines via frame buffer - :example:`draw_lines`

( more example projects will be written here )

Expand Down
10 changes: 8 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))

import sys
import os
import sys, os

from subprocess import call

Expand All @@ -44,9 +43,16 @@
breathe_projects = { "esp32-pcd8544": "xml/" }
breathe_default_project = "esp32-pcd8544"

extensions += ['sphinx.ext.extlinks']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

extlinks = {
'example': ('https://github.com/yanbe/esp32-pcd8544-examples/tree/master/examples/%s', ''),
'component_file': ('https://github.com/yanbe/esp32-pcd8544/tree/master/%s', '')
}

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
Expand Down
34 changes: 0 additions & 34 deletions docs/link-roles.py

This file was deleted.

5 changes: 0 additions & 5 deletions docs/repo_util.py

This file was deleted.

0 comments on commit 4a26be1

Please sign in to comment.