| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository hosts the contents of vulkan-tutorial.com. The website itself is based on daux.io, which supports GitHub flavored Markdown. The actual site runs daux.io with a custom theme and a few modifications (https://github.com/Overv/daux.io) and this is built into a Docker image.
Use issues and pull requests to provide feedback related to the website. If you have a problem with your code, then use the comments section in the related chapter to ask a question. Please provide your operating system, graphics card, driver version, source code, expected behaviour and actual behaviour.
This guide is now available in e-book formats as well:
The e-book can be built from the existing content by running:
python3 build_ebook.py
This script depends on the following utilities being available on the path:
You also need to install a LaTeX distribution for PDF generation.
It is sometimes necessary to change code that is reused across many chapters, for example a function like createBuffer. If you make such a change, then you should update the code files using the following steps:
To render the tutorial (i.e. convert the markdown to html), you have two options:
For either of these options, you'll need php and a patch'ed daux.
Once you've completed the above, follow the instructions on the daux site for how to run daux using a web server.
As a simple option considering you have php installed, you can also use php's built in development web server if you just need to locally see what things look like:
Before we generate the static files, we need to tweak daux and the tutorial setup to prevent it from trying to load a few outside resources (which will stall your browser when trying to load the otherwise static page)
We're working on improvements so in the future the above steps won't be necessary.
Now with the above done, we can generate the static files. Asuming the daux.io and VulkanTutorial directories are next to each other, go into the daux.io directory and run a command similar to: daux generate -s ../VulkanTutorial -d ../VulkanTutorial/out.
-s tells it where to find the documentation, while -d tells it where to put the generated files.
Note: if you want to generate the docs again, delete the out directory first or daux will make a new out directory within the existing out directory.
The contents of this repository are licensed as CC BY-SA 4.0, unless stated otherwise. By contributing to this repository, you agree to license your contributions to the public under that same license.
The code listings in the code directory are licensed as CC0 1.0 Universal. By contributing to that directory, you agree to license your contributions to the public under that same public domain-like license.
| Back | FazBrowse Home | New Git URL |