-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: how to get the webpage from index.md to index.html
- Loading branch information
1 parent
9f5d653
commit 55bf1c0
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
# Dune binaries distribution | ||
|
||
This is a webpage for `dune` binaries distribution. The page is writen in mardown file and translated in html for deployment. | ||
|
||
## Deployment | ||
|
||
- Translate `index.md`: | ||
``` | ||
$ hmd2html -i index.md | ||
$ ls output | ||
index.html | ||
``` | ||
|
||
- Move the `output/index.html` to `index.html` | ||
``` | ||
$ mv output/index.html index.html | ||
``` | ||
|
||
- Do not forget to add the plausible script in `index.html` | ||
``` | ||
<script defer data-domain="dune.ci.dev" src="https://plausible.ci.dev/js/script.file-downloads.js"></script> | ||
``` | ||
The plausible script is about tracking the binaries downloads. | ||
|
||
- The file `index.html` and `binaries` directory are ready to be hosted. |