Skip to content

Commit

Permalink
Change the json module docs url to fully qualified names
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Mitchell <[email protected]>
  • Loading branch information
npmitche authored and dscott90 committed May 13, 2024
1 parent cd2f9f9 commit 9c5e35d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sphinx/_scripts/removeStrRst.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def modulesRst():
for _, _, rstFiles in os.walk(os.path.join(doc_path, 'modules')):
for file in rstFiles:
f = open(os.path.join('modules', file), 'r')
title = f.readline().split('.')
title = f.readline()
contents = f.read()
f.close()

Expand All @@ -40,7 +40,7 @@ def modulesRst():
contents = contents.replace(':members:', '')

f = open(os.path.join('modules', file), 'w')
f.write(title[-1] + contents)
f.write(title + contents)
f.close()

# Create rst for xml files
Expand Down

0 comments on commit 9c5e35d

Please sign in to comment.