Skip to content

Commit

Permalink
Merge pull request #2 from muellerzr/doc-builder-fixes
Browse files Browse the repository at this point in the history
Fix a variety of issues and setup _quarto.yml
  • Loading branch information
muellerzr authored Jun 7, 2023
2 parents 1a6f61c + ff0a858 commit 6753a4f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
15 changes: 15 additions & 0 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,21 @@ website:
margin-header: |
![](/logo.png)
favicon: /logo.png
repo-url: https://github.com/muellerzr/nbquarto
issue-url: https://github.com/muellerzr/nbquarto/issues/new
repo-actions: [edit, issue]
page-navigation: true

page-footer:
right:
- icon: github
href: https://github.com/muellerzr/nbquarto
aria-label: nbquarto GitHub
navbar:
tools:
- icon: github
href: https://github.com/muellerzr/nbquarto
aria-label: nbquarto GitHub

format:
html:
Expand Down
3 changes: 1 addition & 2 deletions docs/getting_started.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ pip install git+https://github.com/muellerzr/nbquarto
To use `nbquarto`, you must first create a `config.yaml` file to serve as the
project configuration. This file can be placed anywhere.

For example, located [here](config.yaml) in the repo:
For example, located [here](https://github.com/muellerzr/nbquarto/blob/main/config.yaml) in the repo:

```yaml
documentation_source: nbs
output_folder: docs
processors: [
nbquarto.processors.example:BasicProcessor,
nbquarto.processors.autodoc:AutoDocProcessor
]

Expand Down
2 changes: 1 addition & 1 deletion src/nbquarto/processors/autodoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def autodoc(object_name, package, methods=None, page_info=None, version_tag_suff
class AutoDocProcessor(Processor):
"""
A processor which will automatically generate API documentation for a given class or method.
Largely relies on the implementation in [hf-doc-builder](https://github.comn/huggingface/doc-builder),
Largely relies on the implementation in [hf-doc-builder](https://github.com/huggingface/doc-builder),
while adding some customizations for Quarto.
This processor expects the following directives:
Expand Down

0 comments on commit 6753a4f

Please sign in to comment.