...
Code Block |
---|
cd knox-site svn update |
3. Modify site files
...
This could include several different types of files.
- The directory
trunk/src/site/markdown
...
- contains Markdown files for the site.
- The directory
trunk/src/site
...
/resources
contains the status resources (e.g. images, etc) for the site.- The directory
trunk/books
contains the source for various books.
4. Generate static site files
Once you have finished making changes the files must be committed in order to publish them to the Apache site. These resulting static files will be generated into site
. The touch
command shown below is to ensure that the You can open the file site/index.html file is generated even if the index.md
file isn't modifiedin your browser to review your changes before publishing.
Code Block |
---|
touch trunk/src/site/markdown/index.md mvnant -f trunk/pombuild.xml site |
5.
...
Publish site files
The committing of the files causes the site to be published. In particular the generated static files in site
are published to the Apache website.
...