mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 16:51:51 +03:00
[ 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:
parent
ea093ffaed
commit
9f93d4c1ec
1
.github/workflows/ci-idris2-and-libs.yml
vendored
1
.github/workflows/ci-idris2-and-libs.yml
vendored
@ -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 }}
|
||||
|
BIN
www/source/idris-logo-base.png
Normal file
BIN
www/source/idris-logo-base.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user