Skip to content

Template for websites and documentation pages in the style of developerc76.github.io

License

jasr4j/docs-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docs-template

Template for websites and documentation pages in the style of jasr4j.github.io

Requirements:

Racket (> 8.1), Raco, Bash, wget, unzip

Directions:

Clone the template

Option 1:

Download the zip file for the template and unzip the folder:

$ wget https://raw.githubusercontent.com/jasr4j/docs-template/main/docs.zip
$ unzip docs.zip

Option 2:

Run the following in the repo in which the template should be placed:

This will clone the template to a new folder in the repo called docs/

$ git clone https://github.com/jasr4j/docs-template.git
$ cd docs-template
$ mv docs ..
$ cd .. && rm -rf docs-template

Install dependencies

Install Pollen (Update if needed):

$ sudo raco pkg install pollen

How to run

Write markdown into the info.html.pmd file (KEEP THE "#lang pollen" in the first line)

$ chmod +x compile.sh
$ ./compile.sh

Run locally at port 8080 by default (by clicking on the index.html file)

Deploy on GitHub Pages or GitLab Pages (they will use the index.html file as the file to render at username.github.io/project/)

Notes:

Tested on Racket 8.7 (Debian 12)

Used Pollen v3.2

This is mobile and desktop friendly

Example of this template: GitHub pages for this repo

After headings like "# Heading" or "## Heading 2", you should add a "<br>" statement

About

Template for websites and documentation pages in the style of developerc76.github.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published