Skip to content

Commit d64d4a9

Browse files
committed
Minor clean-up
1 parent 59e234e commit d64d4a9

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ clean:
3535
$(TEXINFO) $(MANPAGE):
3636
$(CURL) --remote-name $(HOST)/$($(@)_repopath)/$@
3737

38-
# TODO: Remove the line after this comment once the next release after 3.3.1
38+
# TODO: Remove the line after this comment once the next release after 3.3.2
3939
# is published as it will include the necessary changes for version.texi and
4040
# related files to be fetched from the tag instead of the master branch.
4141
version.texi: LATEST := master

flake.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# NOTA BENE: When a new release of ledger or ledger-mode is available, update
1010
# the tag in the url below and run `nix flake update`, so that GitHub Actions
1111
# will build the documentation from the latest ledger and ledger-mode release.
12-
# TODO: Replace `master` with the tag of the ledger release following 3.3.1, once available.
12+
# TODO: Replace `master` with the tag of the ledger release following 3.3.2, once available.
1313
ledger.url = "github:ledger/ledger/master";
1414
ledger-mode.url = "github:ledger/ledger-mode/v4.0.0";
1515
ledger-mode.flake = false;
@@ -20,7 +20,7 @@
2020
let
2121
pkgs = import nixpkgs { inherit system; };
2222
gems = with pkgs; bundlerEnv {
23-
name = "ledger.github.io-gems";
23+
name = "ledger-website-gems";
2424
inherit ruby;
2525
gemdir = ./.;
2626
};
@@ -32,7 +32,7 @@
3232
packages = rec {
3333
default = website;
3434
website = pkgs.stdenvNoCC.mkDerivation rec {
35-
name = "ledger.github.io";
35+
name = "ledger-website";
3636
src = self;
3737

3838
dontConfigure = true;
@@ -65,7 +65,7 @@
6565

6666
preConfigure = "cd doc";
6767

68-
cmakeFlags = [ "-DBUILD_WEB_DOCS:BOOL=ON" "-Wno-dev" ];
68+
cmakeFlags = [ "-Wno-dev" "-DBUILD_WEB_DOCS:BOOL=ON" ];
6969

7070
buildFlags = "doc";
7171

source/docs.html.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ title: Documentation - Ledger
44

55
# Documentation
66

7-
<style>
8-
.dim, .dim a:link, .dim a:visited { color:#ccc; }
9-
</style>
10-
11-
* <b><a href="doc/ledger3.html">Ledger 3 manual</a></b> and <a href="doc/ledger3.pdf">pdf</a> <span class="dim">(<a href="https://git.ledger-cli.org/ledger/commits/master/doc/ledger3.texi">changes</a>)
12-
* <a href="doc/ledger.1.html">Ledger 3 man page</a> and <a href="doc/ledger.1.pdf">pdf</a> <span class="dim">(<a href="https://git.ledger-cli.org/ledger/commits/master/doc/ledger.1">changes</a>)
13-
* <a href="doc/ledger-mode.html">ledger-mode manual</a> and <a href="doc/ledger-mode.pdf">pdf</a> <span class="dim">(<a href="https://git.ledger-cli.org/ledger-mode/commits/master/doc/ledger-mode.texi">changes</a>)
7+
* [**Ledger 3 manual**](doc/ledger3.html) and [pdf](doc/ledger3.pdf) ([changes](https://git.ledger-cli.org/ledger/commits/master/doc/ledger3.texi))
8+
* [Ledger 3 man page](doc/ledger.1.html) and [pdf](doc/ledger.1.pdf) ([changes](https://git.ledger-cli.org/ledger/commits/master/doc/ledger.1))
9+
* [ledger-mode manual](doc/ledger-mode.html) and [pdf](doc/ledger-mode.pdf) ([changes](https://git.ledger-cli.org/ledger-mode/commits/master/doc/ledger-mode.texi))
1410

1511
## External links
1612

17-
* The [ledger wiki](https://wiki.ledger-cli.org)
18-
<span class=dim> ([changes](https://wiki.ledger-cli.org/_history)) </span>
13+
* The [ledger wiki](https://wiki.ledger-cli.org) ([changes](https://wiki.ledger-cli.org/_history))
1914
* [ledger on Wikipedia](https://en.wikipedia.org/wiki/Ledger_%28software%29)
20-
<span class=dim> ([changes](https://en.wikipedia.org/w/index.php?title=Ledger_%28software%29&action=history)) </span>
15+
([changes](https://en.wikipedia.org/w/index.php?title=Ledger_%28software%29&action=history))
2116
* John gave a nice audio introduction to Ledger in the [2011/01/26 FLOSS Weekly show](https://twit.tv/floss150)
2217
* hledger.org's [Accounting links](https://hledger.org/accounting.html#accounting-links) has some useful Ledger and accounting links

source/stylesheets/site.css.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ a[href^="https://"]:not(:has(img, svg))::after {
4343
color:var(--visited-color);
4444
}
4545

46+
// Change color of links pointing to changes
47+
a[href^="https://git.ledger-cli.org"][href*="commits/master"],
48+
a[href*="action=history"],
49+
a[href="https://wiki.ledger-cli.org/_history"]
50+
{ color: #ccc; }
51+
4652
nav {
4753
display:inline;
4854

0 commit comments

Comments
 (0)