Skip to content

LiaungYip/pcgen-docs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is the documentation for PCGen.

The original documentation, in HTML format, has been converted to Markdown, which is much easier to edit.

The Markdown-formatted text is compiled using Hugo, an excellent "static site generator". The output is a complete HTML website which can be browsed from a hard drive, or uploaded to a webserver.

Instructions

  1. Install Hugo:

  2. Install git:

  3. Download a copy ("clone") of the pcgen-docs repository to your computer.

    • i.e. to make a copy to C:/pcgen-docs/, you would do:

      git clone --recursive https://github.com/LiaungYip/pcgen-docs G:/pcgen-docs/

      Note the --recursive option is required to download the website theme, which is a "sub-module" of the main repository.

  4. Start the Hugo test server:

    • Go to the directory where you cloned the pcgen-docs repository:

      cd G:/pcgen-docs

    • Run Hugo in server mode:

      hugo server

    • Open a web browser to http://localhost:1313

    • Try changing a file in content/. Your web browser will automatically refresh, showing the changes!

  5. Compile the website, ready to upload to a webserver, or to include with PCGen:

    • Go to the directory where you cloned the pcgen-docs repository:

      cd G:/pcgen-docs

    • Run Hugo, putting the output into folder G:/compiled-website:

      hugo --stepAnalysis -d G:/compiled-website/

      The --stepAnalysis shows you how long each step took (in seconds), and how much RAM was used.

    • Find G:/compiled-website/index.html and double click it. It will open in a web browser. It should look exactly the same as the test server!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published