Skip to content

Commit

Permalink
Generate html to correct files
Browse files Browse the repository at this point in the history
  • Loading branch information
Westwooo committed Sep 17, 2024
1 parent 59486f6 commit ba64d2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
id: adocbuild_index
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor -D docs -r ./docs/lib/cb-docinfoprocessor.rb -a toc=left -a toclevels=4 -a source-highlighter=coderay -a stylesheet=couchbase.css -a linkcss=true docs/index.adoc"
program: "asciidoctor -D docs -r ./docs/lib/cb-docinfoprocessor.rb -a toc=left -a toclevels=4 -a source-highlighter=coderay -a stylesheet=couchbase.css -a linkcss=true docs/index.adoc -o docs.html"
- name: Build recipes page
id: adocbuild_recipe
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor -D docs -r ./docs/lib/cb-docinfoprocessor.rb -a toc=left -a toclevels=4 -a source-highlighter=coderay -a stylesheet=couchbase.css -a linkcss=true docs/recipes.adoc"
program: "asciidoctor -D docs -r ./docs/lib/cb-docinfoprocessor.rb -a toc=left -a toclevels=4 -a source-highlighter=coderay -a stylesheet=couchbase.css -a linkcss=true docs/recipes.adoc -o recipes/recipes.html"
- name: Print execution time
run: echo "Time ${{ steps.adocbuild.outputs.time }}"
- name: Deploy docs to ghpages
Expand All @@ -29,3 +29,4 @@ jobs:
publish_dir: ./docs
destination_dir: ./docs
exclude_assets: '*.adoc,build.sh,lib/,recipes/'
keep_files: true

0 comments on commit ba64d2b

Please sign in to comment.