-
Notifications
You must be signed in to change notification settings - Fork 310
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 website #1773
base: main
Are you sure you want to change the base?
Doc website #1773
Conversation
This format can be understood by doxygen for syntax highlighting.
vulkan/vulkan_static_assertions.hpp \ | ||
vulkan/vulkan_raii.hpp \ | ||
vulkan/vulkan_structs.hpp \ | ||
vulkan/vulkan_structs.hpp \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without VulkanSC to make webpage not unnecessary slower for class list. doxygen crashed on VkSharedHandle
by encountering an infinite recursion loop when investigating template relations.
on: | ||
push: | ||
branches: | ||
- main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pushes webpage to gh-pages
. In repo, setting this branch can be enabled to serve Github pages.
Alternative would be to publish the documentation in some other location (e.g. Khronous owned) or just leave it for users to build locally.
@@ -100,7 +100,7 @@ The scoped enum feature adds type safety to the flags, but also prevents using t | |||
|
|||
As solution Vulkan-Hpp provides a template class `vk::Flags` which brings the standard operations like `&=`, `|=`, `&` and `|` to our scoped enums. Except for the initialization with 0 this class behaves exactly like a normal bitmask with the improvement that it is impossible to set bits not specified by the corresponding enum by accident. Here are a few examples for the bitmask handling: | |||
|
|||
```c++ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doxygen doesn't understand c++
in Markdown, cpp
Initial draft to run
doxygen
on Vulkan-Hpp to have a documentation website that could be hosted somewhere. Not sure if this is needed/useful.E.g. https://thehamsta.github.io/Vulkan-Hpp/
Vulkan-Hpp samples already have
VULKAN_HPP_KEY_START
. Are they already pushed to some kind of documentation website?