Commit Graph

328 Commits

Author SHA1 Message Date
Simon Michael
74a794a05f ;doc: BACKLOG: switch to markdown 2023-04-13 06:44:06 -10:00
Simon Michael
66e658f593 ;doc: ROADMAP: switch to markdown 2023-04-13 06:26:25 -10:00
Simon Michael
270a92292f fix: Shake: adapt to texinfo 7, fixing info manual generation (#2023) 2023-04-06 14:12:53 -10:00
Simon Michael
12247c8767 ;dev: shake cmdhelp: simplify commit message 2023-03-16 23:20:14 -10:00
Simon Michael
c2e7cc5700 pkg: update stackage resolvers, extra deps 2023-03-10 18:58:22 -10:00
Simon Michael
d98dfedb9e ;dev: shake: cmdhelp: tweak commit message 2023-02-20 16:24:54 -10:00
Simon Michael
5dee1fe78c ;doc: move most dev docs to doc/ 2022-12-04 11:22:05 -08:00
Simon Michael
ba773e3fe9 dev: bump to stackage lts-20.1 2022-11-25 23:44:46 -05:00
Simon Michael
3cda526c5a stack: bump to 2022-09-01 resolver 2022-09-01 15:30:33 -07:00
Simon Michael
950c85cad7 dev: bump to latest stackage, ghc 9.2.4 2022-08-07 19:11:17 +01:00
Simon Michael
3070ba9b36 dev: stack: bump to latest nightly 2022-07-10 22:05:14 +01:00
Simon Michael
e9292dc3fb shake: fix page TOC rendering (with mdbook-toc 0.8+ ?) 2022-06-20 13:00:02 +01:00
Simon Michael
9acbbed4fe pkg: stack, shake, install: bump to ghc 9.2.3 2022-06-09 11:34:47 +01:00
Simon Michael
79d3ecfc90 ;pkg: stack: bump to latest nightly snapshot 2022-06-06 12:20:31 +01:00
Simon Michael
07629c803a stack: bump stack & shake to latest nightly 2022-04-15 15:07:17 -10:00
Simon Michael
b5bb3b4d03 pkg: bump to stackage nightly-2022-03-03 2022-03-04 15:38:57 -10:00
Simon Michael
443e49214d tools: shake: sync with stack.yaml 2022-02-05 07:28:59 -10:00
Simon Michael
09009cbb1c ;tools: bump resolver in more places 2021-12-16 13:34:59 -10:00
Simon Michael
3027d36ebb ;doc: orgfiles: disable smart dashes in another way
Use an org export setting in BACKLOG.org and ROADMAP.org to disable
-- being converted to dashes. Leave the markdown+smart workaround
in Shake.hs also, it's doing no harm and seems useful as backup.

':nil would disable smart quotes as well, but that seems to be org's
default.
2021-09-27 12:15:09 -10:00
Simon Michael
030b1f5d00 ;doc: BACKLOG, ROADMAP: improve page TOC 2021-09-27 11:49:52 -10:00
Simon Michael
049855de4c ;shake: orgfiles: fix unwanted smart typography (BACKLOG, ROADMAP)
And document pandoc issues.
2021-09-26 09:57:35 -10:00
Simon Michael
c89289260f ;shake: try -smart to fix em-dashes in org files, probably no use
And some notes.
2021-09-25 13:13:00 -10:00
Simon Michael
e386576255 ;tools: Shake: add "orgfiles" for -VVV, fix their deps 2021-09-19 08:04:38 -10:00
Simon Michael
4a460ae3e1 ;imp: doc: public BACKLOG.org 2021-09-19 07:35:45 -10:00
Simon Michael
87b532b43d ;imp: tools: ./Shake site builds the website 2021-09-19 06:59:51 -10:00
Simon Michael
b19b1de0cb ;imp: doc: orgify ROADMAP 3: generate .ROADMAP.md for site 2021-09-19 06:58:16 -10:00
Stephen Morgan
8bf7c95697 cln: hlint: Clean up Functor related hlint warnings, and NOINLINE warning. 2021-08-27 06:13:56 -10:00
Stephen Morgan
beecb3c9ac cln: hlint: Clean up list related hlint warnings. 2021-08-27 06:13:56 -10:00
Stephen Morgan
e13239386f cln: hlint: Clean up == and elem related hlint warnings. 2021-08-27 06:13:56 -10:00
Stephen Morgan
7edcbe4be8 cln: hlint: Remove rendundant guard warnings. 2021-08-26 07:23:11 -10:00
Simon Michael
d716aaa5a8 shake: changelogs: don't get confused by an all-digit commit hash
Fixes spurious "can't list changes" warning.
2021-08-03 09:51:38 -10:00
Simon Michael
7673778022 ;shake: cabalfiles: use (and require) hpack, to avoid building
hpack should be in $PATH, and it should be the version that's in
the current stack release, to avoid commit conflicts.
2021-08-03 08:56:38 -10:00
Simon Michael
ff76db9fb2 ;shake: cabalfiles: cleanups, build fast and show progress 2021-08-03 08:28:36 -10:00
Simon Michael
48b8dd9be7 ;shake: don't regenerate dir for now (fix) 2021-08-02 22:21:06 -10:00
Simon Michael
003391e102 ;shake: don't regenerate dir for now 2021-08-02 22:14:05 -10:00
Simon Michael
8c890f845b ;shake: webmanuals: move page toc below h1 again
To avoid extra toc items.
Also added a class permitting manual-specific styling.
2021-07-28 22:20:49 -10:00
Simon Michael
9a18eed9dd shake: changelogs: don't ignore ; messages any more
A leading semicolon now means something different (skip CI).
2021-07-20 22:39:46 -10:00
Simon Michael
c881d916eb shake: use new default resolver / ghc 9.0 2021-07-20 20:38:39 -10:00
Simon Michael
395717e778 ;shake: drop unnecessary dev: prefix in doc commits 2021-07-13 18:40:41 -10:00
Simon Michael
44c5eb5136 ;shake: update commit messages to pass commitlint 2021-07-12 18:50:06 -10:00
Simon Michael
2d87298a68 ;doc: slightly simplify dir entries, use higher-level texinfo format (#1585) 2021-06-27 21:24:51 -10:00
Simon Michael
e3edea11e8 doc: generate a single Info dir file, and commit it (#1585)
Avoids duplicate headings in info viewer, makes installing easier.
2021-06-27 19:31:15 -10:00
Simon Michael
eae4922d12 doc: info directory entries: fixes, cleanup (#1585) 2021-06-27 17:26:00 -10:00
Simon Michael
1c9a7f1bc4 doc: make hledger manuals show up in Info's directory
This continues the work begun by #1585. It moves each info manual's
directory metadata to the top of the file, where it needs to be.
I couldn't see a way to do this with pandoc/makeinfo, so the Shake
recipe prepends it from a separate file.

With this metadata in place, the hledger info manuals can be added to
an Info dir file using install-info. Eg:

$ install-info hledger/hledger.info /usr/local/share/info/dir
$ info

Secondly, the Shake "manuals"/"infomanuals" recipes now also generate
an Info dir file in each package directory, so you can also just add
the package directories to your INFOPATH. Eg:

$ export INFOPATH=~/src/hledger/hledger:~/src/hledger/hledger-ui:~/src/hledger/hledger-web:$INFOPATH
$ info
2021-06-27 17:01:59 -10:00
Simon Michael
61a3fbc019 ;shake: note how paragraph refilling affects macro arguments (#806) 2021-06-17 09:43:40 -10:00
Simon Michael
e7f4619735 ;doc: use more obscure m4 flags to avoid clashes (#806) 2021-06-17 08:37:22 -10:00
Simon Michael
23369714e1 tools: drop obsolete site/ requirement (#1565) 2021-06-14 16:56:02 -10:00
Simon Michael
7abf8eedd5 ;tools: Shake cabalfiles: fix with stack 1.7 (now does a full build) 2021-05-14 16:19:28 -10:00
Simon Michael
076da7dd18 ;shake webmanuals: update toc/versions placeholders 2021-03-21 09:01:33 -07:00
Simon Michael
16f8ed3d0f shake webmanuals: include the TOC comment 2021-03-19 08:21:28 -07:00
Simon Michael
0c56d3ffa3 shake mandates: update .date.m4 source files to current month/year 2021-03-18 07:21:51 -07:00
Simon Michael
941574423a ;shake: drop ".webmanuals" from website markdown filenames 2021-03-18 06:48:07 -07:00
Simon Michael
be50572d97 shake: bump to lts-17.4, like the rest 2021-03-10 08:19:10 -08:00
Simon Michael
286efc7b12 ;shake: use --markdown-headings to silence warning (& require pandoc-2.11.2+) 2021-02-17 12:11:15 -08:00
Simon Michael
d99c5e3087 ;Shake changelogs: avoid an error with untagged release version
(cherry picked from commit b102c2ca5d5c7793cd80b4e7a03e5df908528162)
2020-12-29 09:38:41 -08:00
Simon Michael
81b07dd6f5 ;Shake changelogs: reduce excessive whitespace
(cherry picked from commit 7b13778a29f4e4959077ccaa1186ebe57454ff22)
2020-12-29 09:38:33 -08:00
Simon Michael
fbe30a73b9 ;doc: mention version in all manual formats 2020-12-24 17:25:11 -08:00
Simon Michael
a7e9e9ac0e doc: merge file format manuals into the hledger manual
Also flatten the journal manual topics a bit.

There are pros and cons to this, but I believe the pros outweigh the
cons.
2020-12-24 10:22:05 -08:00
Simon Michael
65a003c8ee ;doc: refactor, keep commands.m4 in Commands dir 2020-12-22 17:05:28 -08:00
Simon Michael
753ee5f50f ;doc: note dependency between shake targets 2020-12-20 20:08:35 -08:00
Simon Michael
24fad7ce35 ;doc: man: show program name & version in footer 2020-12-20 20:08:35 -08:00
Simon Michael
f42d2e2b61 ;doc: info: drop standalone headers again, they break things 2020-12-20 20:08:35 -08:00
Simon Michael
6e1a9f83e1 ;doc: info: add standalone headers, incl. text encoding 2020-12-20 20:08:29 -08:00
Simon Michael
c058d44034 ;shake: note issue
(cherry picked from commit e5b6dd3b1e022a731db0f0322be2d1a5d075e676)
2020-12-15 20:57:15 -08:00
Simon Michael
a764b6137f ;shake changelogs: be more robust 2020-12-15 20:21:56 -08:00
Simon Michael
25d76a7795 ;shake changelogs: make it more robust; add a newline 2020-12-15 13:04:36 -08:00
Simon Michael
1a924f3a16 ;shake: wording 2020-12-15 12:41:33 -08:00
Simon Michael
d028b1f062 ;shake: update -> docs 2020-12-15 12:38:57 -08:00
Simon Michael
6e2d4ce425 ;shake setversion: print hledger bounds for review 2020-12-15 12:30:54 -08:00
Simon Michael
12d17efcd0 ;shake setversion also updates cabal files; update help 2020-12-15 11:46:42 -08:00
Simon Michael
105f7d2944 ;tools: split defs.m4 to minimise manual rebuilding 2020-12-15 09:39:29 -08:00
Simon Michael
7d4d6517a6 ;shake: commandtxts -> cmdhelp; note todos 2020-12-15 08:53:10 -08:00
Simon Michael
e9b84ca17c ;doc: journal: separate periodic rules' two meanings 2020-12-09 10:53:10 -08:00
Simon Michael
48b09bf0b4 ;tools: Shake manuals: fix breakage 2020-12-08 20:11:17 -08:00
Simon Michael
f10cc4609d doc: fix content hierarchy when generating info manuals 2020-12-08 20:09:09 -08:00
Simon Michael
d17d92b338 ;stack, bin: bump all to lts-16.25 2020-12-08 12:59:25 -08:00
Simon Michael
116945e907 ;shake: man page date is now updated by manuals, not setversion 2020-12-07 12:26:48 -08:00
Simon Michael
84ee05baa6 Shake cabalfiles: give an error when this fails 2020-11-10 08:06:03 -08:00
Simon Michael
4388ce72f6 ;shake: manuals: commit the defs.m4 files also 2020-10-18 16:02:35 -07:00
Simon Michael
b02218586b ;shake setversion: tweak commit message 2020-09-07 12:19:16 -07:00
Simon Michael
845f344eba ;shake commandtxts,manuals,changelogs,cabalfiles,update: --commit 2020-09-07 11:41:57 -07:00
Simon Michael
d6b1a18178 ;shake setversion --commit: also commit the updated files 2020-09-07 11:41:56 -07:00
Simon Michael
0578c50bf8 ;shake update: regenerate all the usual bits 2020-09-07 11:41:56 -07:00
Simon Michael
731cda3f65 ;shake: use --dry-run instead of changelogs-dry 2020-09-07 11:41:56 -07:00
Simon Michael
00e12c626c ;shake: simplify argument handling, fix setversion 2020-09-07 11:41:56 -07:00
Simon Michael
306975e6ac ;shake cabalfiles updates .cabal files 2020-09-07 11:41:56 -07:00
Simon Michael
1f4907928c ;shake: build can take package arguments, drop Shake PKG 2020-09-07 11:41:56 -07:00
Simon Michael
a1321b7f26 ;shake: commandhelp -> commandtxts, don't build this for "manuals" 2020-09-07 11:41:56 -07:00
Simon Michael
f8a57dae51 ;shake: help, cleanups 2020-09-07 09:23:42 -07:00
Simon Michael
5c86e0bdbd ;shake changelogs: do both dev & release updates, based on .version
And add changelogs-dry.
2020-09-07 09:23:42 -07:00
Simon Michael
79b532017b ;shake: setversion can operate on specified packages 2020-09-07 09:23:42 -07:00
Simon Michael
fdd346294f ;shake: setversion can save a new version number 2020-09-07 09:23:42 -07:00
Simon Michael
ec2826ba09 ;shake: cleanup 2020-09-07 09:23:42 -07:00
Simon Michael
13ccd23304 ;shake: bump resolver 2020-09-07 09:23:42 -07:00
Simon Michael
ab9e50003c shake: refactor; use only the first argument as build target 2020-09-07 09:23:42 -07:00
Simon Michael
a0277a8d43 ;shake: docversions no longer used 2020-06-07 12:46:09 -07:00
Simon Michael
d79578cbfa ;shake: try default quiet verbosity 2020-03-18 16:22:37 -07:00
Simon Michael
fe0253eddb ;shake: cleanups 2020-03-18 15:46:43 -07:00
Simon Michael
1e2e83ab7e shake: use script command, allow running without compiling first 2020-03-18 15:40:56 -07:00
Simon Michael
ccac3d6cfa ;shake: refactor; add _info_ m4 macro
[ci skip]
2020-01-29 06:01:09 -08:00