@@ -68,9 +68,8 @@ For either of these options, you'll need php and a patch'ed daux.
6868 Daux needs in order to be built
6969 * ` composer install `
70705 . Rebuild Daux
71- * ` php bin/compile `
72- * And then copy the newly made ` bin/daux.phar ` to the base directory so you
73- don't accidently use the old one
71+ * ` php bin/compile ` (this can take a while)
72+ * A newly made ` daux.phar ` will now be in your base directory
7473
7574### Using Daux to serve rendered files on the fly
7675
@@ -99,21 +98,19 @@ stall your browser when trying to load the otherwise static page)
9998 ` google_analytics ` line so daux doesn't try to load that.
100992 . In the ` daux.io ` directory, edit ` themes/daux/config.json ` and remove the
101100 ` font ` line so that daux doesn't try to load an external font.
102- 3 . In the ` daux.io ` directory, edit ` templates/content.php ` and remove the
103- ` <script> ` block at the bottom that contains ` disqus_config `
104- 4 . Rebuild daux according to the earlier instructions so it picks up the
105- template and theme changes.
101+ 4 . Rebuild daux according to the earlier instructions so it picks up the theme
102+ changes.
106103
107104We're working on improvements so in the future the above steps won't be
108105necessary.
109106
110107Now with the above done, we can generate the static files. Asuming the daux.io
111- and VulkanTutorial directories are next to each other, go into the
112- VulkanTutorial directory and run a command similar to:
113- ` php ../daux.io/ generate -s . -d out ` .
108+ and VulkanTutorial directories are next to each other, go into the ` daux.io `
109+ directory and run a command similar to:
110+ ` php generate -s ../VulkanTutorial -d ../VulkanTutorial\ out ` .
114111
115- It should genenerate all of the documentation into the ` out ` directory. The ` -s `
116- option tells Daux the source material is in the current directory .
112+ ` -s ` tells it where to find the documentation, while ` -d ` tells it where to put
113+ the generated files .
117114
118115Note: if you want to generate the docs again, delete the ` out ` directory first
119116or daux will make a new ` out ` directory within the existing ` out ` directory.
0 commit comments