Skip to content

Commit

Permalink
add .hdoc.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
L0rdLizard committed Mar 27, 2024
1 parent cc97191 commit b54a967
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# run: conan profile update settings.compiler.libcxx=libstdc++11 default

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES="conan_provider.cmake" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES="conan_provider.cmake" -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Run hdoc to generate documentation and push it to docs.hdoc.io
uses: hdoc/hdoc-github-action@v2
Expand Down
11 changes: 11 additions & 0 deletions .hdoc.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[project]
name = "my-project"
version = "1.0.0"

# Optional, adding this will enable direct links from the documentation
# to your source code.
git_repo_url = "https://github.com/SUAI-getz-programmers/totally-not-rabbitmq/"
git_default_branch = "feature/doc"

[paths]
compile_commands = "build/compile_commands.json"

0 comments on commit b54a967

Please sign in to comment.