Skip to content

Commit

Permalink
Add README.md + shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
delan committed Mar 20, 2024
1 parent 1eca0f4 commit b4dc358
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
The Servo Book
==============

**<https://servo.github.io/book/>**

To render the docs locally:

```sh
$ cargo install mdbook --vers '^0.4' --locked
$ mdbook serve --open
```

Or if you have [Nix](https://nixos.org/download/) (the package manager):

```sh
$ nix-shell --run 'mdbook serve --open'
```
7 changes: 7 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
with import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/b06025f1533a1e07b6db3e75151caa155d1c7eb3.tar.gz";
}) {};
stdenv.mkDerivation rec {
name = "servo-book-env";
buildInputs = [ mdbook ];
}

0 comments on commit b4dc358

Please sign in to comment.