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

DOC - Enable viewing dev and stable versions of package documentation #206

Merged
merged 20 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clean ups makefile
  • Loading branch information
Badr-MOUFAD committed Nov 9, 2023
commit b97e4696219143b459125f72db8cc6cb89dbdafc
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
command: |
cd doc;
make clean;
make SPHINXOPTS=-v html-noplot;
make SPHINXOPTS=-v html;
cd ..;


Expand Down
6 changes: 0 additions & 6 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,11 @@ install:

.PHONY: add-stable-doc
add-stable-doc:
pwd
ls
# switch to GITHUB_PAGES_BRANCH where stable build is located
git fetch origin $(GITHUB_PAGES_BRANCH)
git checkout $(GITHUB_PAGES_BRANCH)
git pull origin $(GITHUB_PAGES_BRANCH)
# move the content of the stable build to the output dir
pwd
ls
mv ../$(STABLE_DOC_DIR) $(OUTPUTDIR)
# switch back to main and get to doc directory
git checkout main
pwd
ls