Open julien-deramond opened 1 year ago
This PR adds a sample in the repository stored in the sample directory.
sample
Closes #4
cd /tmp mkdocs new .
Copied docs directory at the root level of this repository
docs
Then run mkdocs serve and go to http://127.0.0.1:8000/Orange-OpenSource/ods-mkdocs-theme/
mkdocs serve
Just to be sure, I've run python setup.py bdist_wheel sdist --formats gztar to generate the package and I can confirm that docs is not embedded into it.
python setup.py bdist_wheel sdist --formats gztar
mkdocs gh-deploy
Deployed on https://orange-opensource.github.io/ods-mkdocs-theme/
A new workflow has been created in .github/workflow/deploy.yml to run mkdocs gh-deploy for each commit on the main branch.
.github/workflow/deploy.yml
Deployed when the target branch was main-jd-add-sample: https://github.com/Orange-OpenSource/ods-mkdocs-theme/actions/runs/6416125734/job/17419252606.
main-jd-add-sample
This PR adds a sample in the repository stored in the
sample
directory.Closes #4
How it's been created
Copied
docs
directory at the root level of this repositoryThen run
mkdocs serve
and go to http://127.0.0.1:8000/Orange-OpenSource/ods-mkdocs-theme/No impact on package creation
Just to be sure, I've run
python setup.py bdist_wheel sdist --formats gztar
to generate the package and I can confirm thatdocs
is not embedded into it.Deploy to GH Pages manually
Deployed on https://orange-opensource.github.io/ods-mkdocs-theme/
Deploy to GH Pages for each commit on main branch
A new workflow has been created in
.github/workflow/deploy.yml
to runmkdocs gh-deploy
for each commit on the main branch.Deployed when the target branch was
main-jd-add-sample
: https://github.com/Orange-OpenSource/ods-mkdocs-theme/actions/runs/6416125734/job/17419252606.