[ doc ] Improve the landing page (#3119)

* [ doc ] Improve the landing page

1. Mentioning the network package too
2. Adding the Idris logo to the page
This commit is contained in:
G. Allais 2023-10-26 10:35:01 +01:00 committed by GitHub
parent ea093ffaed
commit 9f93d4c1ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View File

@ -761,6 +761,7 @@ jobs:
./katla.sh
cd -
cp -r www/html/* .github/scripts/html/
cp www/source/idris-logo-base.png .github/scripts/html/
- name: Deploy HTML
uses: JamesIves/github-pages-deploy-action@v4.4.3
if: ${{ success() && env.IDRIS2_DEPLOY }}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -1,6 +1,3 @@
Welcome to Idris2!
==================
<style>
body {
width: 80%;
@ -15,6 +12,10 @@ pre code {
}
</style>
<img src="idris-logo-base.png" style="float:right" alt="Idris 2 logo"/>
Welcome to Idris2!
==================
[Idris](https://www.idris-lang.org/) is a programming language designed to encourage
_Type-Driven Development_.
@ -77,6 +78,12 @@ can pass the `-p contrib` option to `idris2`.
`linear` is the add-on to `base` you'll need for programs using linearity. Similarly to `contrib`,
you will need to pass `-p linear` to `idris2` to use modules defined in it.
#### [Network](https://idris-lang.github.io/Idris2/network)
`network` is the add-on to `base` you'll need for programs using sockets.
Similarly to `contrib` and `linear`, you will need to pass `-p network`
to `idris2` to use modules defined in it.
#### [Papers](https://idris-lang.github.io/Idris2/papers)
`papers` is not installed by default.