A convenient installer for the Docr Static Site Generator
Values below will be used to write your settings.json
in the same directory as
the Docr
executable.
Option | Description | Required | Default |
---|---|---|---|
github-repo |
The GitHub repository (e.g., owner/repo) to fetch releases from. | โ | NotAShelf/Docr |
install-dir |
The installation directory for your application. Defaults to current directory | โ | ./ |
github-username |
Your GitHub username to be displayed on generated pages | โ | N/A |
website-name |
A short name for your website or application, will be displayed on pages | โ | N/A |
template-dir |
The directory where templates are stored | โ | templates/ |
markdown-dir |
The directory where markdown files will be stored | โ | markdown/ |
output-dir |
The directory to place generated html files to. Useful for serving static pages over Pages | โ | output/ |
website-url |
Root URL of your website. Will be used for RSS feeds and buttons | โ | N/A |
website-description |
Meta description of your website. Useful for setting embed descriptions | โ | N/A |
timestamps-from-filename |
Whether to extract timestamps from filenames that are named title-dd-mm-yyyy.md |
โ | true |
- installed-version: The installed version of your application.
All contributions are welcome.
After you've cloned the repository to your local machine or codespace, you'll need to perform some initial setup steps before you can develop your action.
Note
You'll need to have a reasonably modern version of
Node.js handy. If you are using a version manager like
nodenv
or
nvm
, you can run nodenv install
in the
root of your repository to install the version specified in
package.json
. Otherwise, 20.x or later should work!
Nix users may use the provided flake.nix
for automatically setting up a
convenient dev env.
This repository is licensed under the MIT License. See License for more details.