Skip to content

Commit

Permalink
Update cargo config.
Browse files Browse the repository at this point in the history
  • Loading branch information
n3vu0r committed Apr 30, 2024
1 parent 70937d5 commit a605079
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[alias]
tex = ["rustdoc", "--", "--html-in-header", "katex.html"]
[build]
rustflags = ["-C", "target-cpu=native"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ cargo tex
# Refresh opened documentation.
```

With `cargo tex` defined in [.cargo/config](.cargo/config). Note that navigating the documentation
requires web access as KaTeX is embedded via remote CDN.
With `cargo tex` defined in [.cargo/config.toml](.cargo/config.toml). Note that navigating the
documentation requires web access as KaTeX is embedded via remote CDN.

## License

Expand Down

0 comments on commit a605079

Please sign in to comment.