This repository represents the source of the hypress project page.
To run a local development server with a copy of the current project page, install all node dependencies with yarn and run the development script.
yarn
yarn dev
This will create a local server at port 3000.
The content comes in most cases from src/markdown
. Each markdown file represents
a html file. By default, the html files will be rendered using the src/pug/templates/default.pug
template. You can
tell the generator to use a different template by setting the _template
var.
[_template]: #null (default)
To change css edit the files in src/scss
. Make sure to include your file within the include tree under ìndex.scss
.
To change JavaScript edit the files in src/js
.
You can drop assets into the src/assets
folder.
You can set custom vars by use a link symbol with an underscore at the beginning if its name. The generator will resolve the title content to the template.
To build a release version, run the build script.
yarn build
This will create a folder named build
in your root directory with a ready to release bundle.
This project is open for contributions.