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

Remove output folder from source #86

Merged
merged 2 commits into from Feb 13, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/make_docs.yml
Expand Up @@ -26,6 +26,7 @@ jobs:
with:
commit_message: publish release
file_pattern: docs/*
add_options: '--force'
branch: docs # main branch is protected, make sure this one is used for GitHub pages
# the following options are necessary to forcefully overwrite each time the branch
skip_fetch: true
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,7 +1,7 @@
# generated files
*.pdf
*.html
!docs/*.html
docs

# temporary files
.*.swp
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -52,12 +52,14 @@ pull:
$(VCS) pull

release:
mkdir -p docs
$(ADOCHTML) -D docs --out-file index.html $(INFILE)
$(ADOCHTML) -D docs --out-file CONTRIBUTE.html $(INFILE2)
mkdir -p docs/images
cp -v images/*.svg docs/images

preview:
mkdir -p docs
$(ADOCPDF) --out-file docs/preview/$(OUTFILE).pdf $(INFILE)
$(ADOCPDF) --out-file docs/preview/$(OUTFILE2).pdf $(INFILE2)
$(ADOCHTML) --out-file docs/preview/$(OUTFILE).html $(INFILE)
Expand Down