Skip to content

Commit

Permalink
[ doc ] Improve the landing page (#3119)
Browse files Browse the repository at this point in the history
* [ doc ] Improve the landing page

1. Mentioning the network package too
2. Adding the Idris logo to the page
  • Loading branch information
gallais authored Oct 26, 2023
1 parent ea093ff commit 9f93d4c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-idris2-and-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
if: ${{ success() && env.IDRIS2_DEPLOY }}
Expand Down
Binary file added www/source/idris-logo-base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions www/source/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
Welcome to Idris2!
==================

<style>
body {
width: 80%;
Expand All @@ -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_.

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9f93d4c

Please sign in to comment.