Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate docs build #468

Merged
merged 7 commits into from
Jul 19, 2023
Merged

Automate docs build #468

merged 7 commits into from
Jul 19, 2023

Conversation

rec
Copy link
Contributor

@rec rec commented Jul 19, 2023

Description

See #461

Results

https://rec.github.io/superduperdb-stealth/

https://superduperdb.github.io/superduperdb-stealth/

*** NOTE NOTE NOTE NOTE: the URLs are PUBLIC. I can remove this in a trice, it's to test it.

How to test as a reviewer

  • Patch in this commit (perhaps with git new -d rec:docs-build)
  • python -m superduperdb docs --help
  • python -m superduperdb docs 'My first doc build' -o

Now go to your fork on github, Settings/Pages, and enable Deploy From A Branch, then select gh-pages and /root, like this:

Screenshot 2023-07-19 at 14 46 25

In a few minutes, you should see the code at

https://.github.io/superduperdb-stealth/

CLI documentation

$ python -m superduperdb docs --help
                                                                                                                    
 Usage: python -m superduperdb docs [OPTIONS] [COMMIT_MESSAGE]                                                      
                                                                                                                    
 Build documentation, optionally committing and pushing got                                                         
                                                                                                                    
╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────────────────╮
│   commit_message      [COMMIT_MESSAGE]  The git commit message for the docs update.An empty message means do not │
│                                         commit and push.                                                         │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --open  -o        If true, open the index.html of the generated pages on completion                              │
│ --help  -h        Show this message and exit.                                                                    │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

@rec rec requested review from blythed and nenb July 19, 2023 13:06
@rec rec merged commit 4e86fbc into superduper-io:main Jul 19, 2023
@rec rec deleted the docs-build branch July 19, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant