Skip to content

Commit

Permalink
doc: how to get the webpage from index.md to index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
moyodiallo committed May 14, 2024
1 parent 9f5d653 commit 55bf1c0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
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.

0 comments on commit 55bf1c0

Please sign in to comment.