summaryrefslogtreecommitdiff
path: root/repo/www
AgeCommit message (Collapse)Author
2020-04-20Parse site title from top-level READMEKévin Le Gouguec
Maybe not the best idea, since the dependency chain will trigger a site-wide rebuild everytime the README is edited. Ah well.
2020-04-19Stuff all temporary files in a "cache" folderKévin Le Gouguec
2020-04-16Touch up web page titlesKévin Le Gouguec
Still a few wrinkles to iron out, e.g. the toplevel page's <title>.
2020-04-12Refactor index generation slightlyKévin Le Gouguec
2020-04-12Add intermediate step to cache site treeKévin Le Gouguec
Seems kind of wasteful to recompute it every time. Also, now subsequent scripts don't have to care about file extensions anymore.
2020-04-12Finish fixing some files being inaccessibleKévin Le Gouguec
Make generate-deps.py compute the list of indices instead of relying on the list of source folders that contain text files, otherwise we will miss intermediate folders that do not contain any file. Remove TODO entry to maintain Makefile dependencies to scripts: that sounds too tedious. Let's assume that at some point the Makefile and these scripts will be bundled together into a proper package.
2020-04-12Start fixing some files being inaccessibleKévin Le Gouguec
If an intermediate folder contains no leaf page, the previous code does not add it to the parent directory's subfolders. Still needs support from generate-deps.py.
2020-03-29Unify recipe for regular and automated indicesKévin Le Gouguec
Also don't run pandoc in a pipeline within a Makefile recipe: pipefail is not set, so generate-index.py failures will not be bubbled up.
2020-03-25Complete READMEs with a page indexKévin Le Gouguec
2020-03-25Split index generation and HTML conversionKévin Le Gouguec
So that I can re-use generate-index.py for READMEs.
2020-03-24Produce auto-generated indices on stdoutKévin Le Gouguec
This way I can concatenate the output with regular indices.
2020-03-24Distinguish indices from regular pagesKévin Le Gouguec
So that I can add a special recipe for them, where I'll concatenate the directory index.
2020-03-15Note down need for custom HTML templateKévin Le Gouguec
2020-03-15Generate indices for folders without READMEsKévin Le Gouguec
2020-03-15Use git-ls-files(1) to compute list of source filesKévin Le Gouguec
It's not clear whether or not Python supports '\0' for null: the reference[1] says nothing about this specific escape sequence, but Python 3.7 seems to recognize it… repr('\0') says "'\\x00'", so let's use that. [1]: https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals
2020-03-15Stop duplicating list of text file extensionsKévin Le Gouguec
2020-03-15Refactor dependency writer to make it easier to reason about indicesKévin Le Gouguec
2020-03-15Note down next improvements for website generationKévin Le Gouguec
2020-03-14Make path concatenation more to my likingKévin Le Gouguec
I prefer thinking of slashes as concatenation operators, always accompanied by operands on both sides. I don't like them hanging there at the end of my variables, which is what $(dir …) causes.
2020-03-14Establish a convention for makefile variablesKévin Le Gouguec
"Uppercase = public API, lowercase = internal plumbing".
2020-03-14Move dependency file to a variable and clean itKévin Le Gouguec
2020-03-14Let Makefile compute page foldersKévin Le Gouguec
Since it already computes the list of pages. I'm not comfortable with the pattern substitution, the implicit "slash management" is not obvious.
2020-03-14Update page list whenever folders changedKévin Le Gouguec
2020-03-14Note down improvement for dependency generatorKévin Le Gouguec
2020-03-14Turn READMEs into HTML indicesKévin Le Gouguec
2020-03-14Add rudimentary webizer scriptsKévin Le Gouguec