Skip to content

Commit

Permalink
doc: notable improvements to API documentation generation (added sear…
Browse files Browse the repository at this point in the history
…ch, branding, a little styling)

Signed-off-by: Paul Horton <[email protected]>
  • Loading branch information
madpah committed Oct 12, 2021
1 parent a152852 commit e7a5b5a
Show file tree
Hide file tree
Showing 5 changed files with 468 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Build documentation
run: |
poetry run pdoc --html cyclonedx
poetry run pdoc --template-dir doc/templates --html cyclonedx
- name: Deploy documentation
uses: JamesIves/[email protected]
with:
Expand Down
10 changes: 10 additions & 0 deletions doc/templates/config.mako
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<%!
git_link_template = 'https://github.com/cyclonedx-python-lib/blob/{commit}/{path}#L{start_line}-L{end_line}'
google_search_query = '''
site:cyclonedx.github.io
inurl:github.com/cyclonedx/cyclonedx-python-lib
'''
%>
Loading

0 comments on commit e7a5b5a

Please sign in to comment.