-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create documentation to be published in ScribeLabs/documentatio…
…n repo (#103) * fix: complete return type for get_tokens * feat: improve and transform documentation to md files to be published in ScribeLabs/documentation repo * fix: improve documentation and automated commit msg --------- Co-authored-by: Emmanuel Hadoux <[email protected]>
- Loading branch information
1 parent
bda001e
commit 4553d63
Showing
4 changed files
with
87 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Update docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
create-files: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create md files | ||
run: sphinx-build -M markdown ./docs_source ./docs | ||
|
||
update-docs: | ||
runs-on: ubuntu-latest | ||
needs: create-files | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Update docs website | ||
uses: car-on-sale/[email protected] | ||
env: | ||
API_TOKEN_GITHUB: ${{ secrets.WEBSITE_GITHUB_TOKEN }} | ||
GH_TOKEN: ${{ secrets.WEBSITE_GITHUB_TOKEN }} | ||
with: | ||
source_folder: 'docs/markdown' | ||
destination_repo: 'ScribeLabsAI/documentation' | ||
destination_folder: 'docs/SDK/auth-python' | ||
destination_base_branch: 'master' | ||
destination_head_branch: 'auth-python-update' | ||
commit_msg: 'docs(authPython): Update Auth Python doc' | ||
pr_title: 'Update Auth Python doc' | ||
pull_request_reviewers: 'EHadoux' | ||
user_email: '[email protected]' | ||
user_name: 'ailinvenerus' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
Methods Reference | ||
================= | ||
|
||
.. currentmodule:: scribeauth | ||
.. autoclass:: ScribeAuth | ||
:members: | ||
:special-members: __init__ | ||
.. autoclass:: scribeauth.ScribeAuth | ||
:members: | ||
:special-members: __init__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters