Skip to content

Commit

Permalink
Fully support the DebOps fold format for yaml+rst files.
Browse files Browse the repository at this point in the history
Uses: debops/yaml2rst#6
Related to: debops#156
  • Loading branch information
ypid committed Jul 12, 2016
1 parent c8691da commit b0df431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
'ansible/roles/' + element + '/defaults/main.yml',
'ansible/roles/' + element + '/docs/defaults.rst',
strip_regex=r'\s*(:?\[{3}|\]{3})\d?$',
yaml_strip_regex=r'^\s{66,67}#\s\]{3}\d?$',
)

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ sphinx==1.3.4

## TODO: Install unreleased develop version until htgoebel makes a release.
# yaml2rst
https://github.com/ypid/yaml2rst/archive/feature/expose-strip_regex.zip
https://github.com/ypid/yaml2rst/archive/feature/yaml-fold-strip.zip

0 comments on commit b0df431

Please sign in to comment.