Merge "Handle User Guides"
This commit is contained in:
commit
5286dcae17
@ -6,6 +6,8 @@ Release notes
|
||||
|
||||
* Added ``doc-tools-update-cli-reference``, a wrapper script to update
|
||||
CLI references in the ``openstack-manuals`` repository.
|
||||
* Handle guides that published without a content/ sub directory.
|
||||
* Various fixes for auto generating commands and options.
|
||||
|
||||
0.23
|
||||
----
|
||||
|
@ -1250,6 +1250,11 @@ def generate_index_file():
|
||||
index_file.write('<a href="%s/content/index.html">%s</a>\n' %
|
||||
(path, path))
|
||||
index_file.write('<br/>\n')
|
||||
elif os.path.isfile(os.path.join(root, 'index.html')):
|
||||
path = os.path.relpath(root, publish_path)
|
||||
index_file.write('<a href="%s/index.html">%s</a>\n' %
|
||||
(path, path))
|
||||
index_file.write('<br/>\n')
|
||||
|
||||
if os.path.isfile(os.path.join(root, 'api-ref.html')):
|
||||
path = os.path.relpath(root, publish_path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user