compudanzas/README.md

33 lines
1.1 KiB
Markdown
Raw Normal View History

2021-06-17 01:21:13 +00:00
# compudanzas
2021-06-18 03:32:35 +00:00
this repository contains the scripts and source files for the compudanzas site in gemini and the web
2021-06-17 01:21:13 +00:00
2021-06-18 03:32:35 +00:00
* generated in web/ : [https://compudanzas.net](https://compudanzas.net)
* generated in gem/ : [gemini://compudanzas.net](gemini://compudanzas.net/)
2021-06-17 01:21:13 +00:00
# generate site
call the shell script:
```
./generasitio.sh
```
# files
2021-06-17 23:29:31 +00:00
* `generasitio.sh`: the shell script that copies files and call the other scripts with the corresponding arguments (like last modified date)
* `gemtext2html.awk`: converts the files in .gmo format (modified .gmi) to an html version, according to the spec and my own taste
* `gmo2gmi.awk`: converts the files in .gmo format to real .gmi
* `genindice.awk`: generates the index of all pages
* `links.py`: calculates the incoming links between pages and adds them to the files
2021-06-17 01:21:13 +00:00
2021-06-17 23:29:31 +00:00
`gemtext2html.awk` and `gmo2gmi.awk` also parse and convert {wikilinks}
2021-06-17 01:21:13 +00:00
# .gmo format
the same format as gmi (gemtext), but with the following line types:
2021-06-17 23:29:31 +00:00
`+` add this line to the html file but not to the gmi file
`&` add this line to the gmi file but not to the html file