Age | Commit message (Collapse) | Author | Files | Lines |
|
Also, change a couple of scenario titles to work around a Subplot
problem that results in no name in generated Rust functions.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
The links will be added later.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Implement the ikiwiki "usedirs" functionality in riki, so that riki
generates compatible URLs with ikiwiki. This means that for an input
page foo.mdwn, riki generates an output page of foo/index.html.
ikiwiki has its "usedirs" setting enabled by default, with the
following justification:
There are several advantages to `usedirs`, including simpler URLs, URLs that
aren't dependent on the underlying implementation (`.html`), and being able to
use URLs as tags as described in the [rel-tag
microformat](http://microformats.org/wiki/rel-tag).
The main disadvantage is that it is harder to browse using `file://` URIs,
since `file:///dir/` doesn't automatically translate to `dir/index.html`. This
is something one could fix in the browser though.
For riki it's enough to be compatible with ikiwiki.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
This is just simple enough for me for now.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Not documented for ikiwiki.
Sponsored-by: author
|
|
ikiwiki requires shortcuts to be defined in a paged called
"shortcuts". We allow them anywhere, but this requires us to introduce
a preparation phase: directives (shortcuts only for now) can be asked
to prepare before they're later processed. For shortcuts preparing
means adding the shortcut to the site's list of shortcuts.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
If a file is committed to git and hasn't been changed, use the latest
commit time for the file as the timestamp of the output file.
This lacks tests, as I find it too much of a bother to set up git
histories with timestamps.
Sponsored-by: author
|
|
This is a big change that was not feasible to turn into a tidy series
of small steps. Sorry.
Re-work the processing queue so that wikitext pages are not loaded as
soon as the files are round in Site::scan, but later, though still in
::scan. This is a little cleaner.
Fix: don't copy markdown files to the destination tree, and verify
that it doesn't happen in the subplot.
Also, un-publish Site::add_wikitextpage and Site::add_other_file.
They're not needed from outside site.rs.
Also, drop Sites::included_files, as it was the same as Site::files.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
This will allow the generated HTML to be rooted at any prefix.
Sponsored-by: author
|
|
If a page FOO.mdwn exists, a link `[[foo]]` points to it.
Sponsored-by: author
|
|
On a user-editable wiki, it is useful to allow links to targets that
don't exist. In a static site generator, not.
Sponsored-by: author
|
|
Add some infrastructure for directives, and implement the meta title
directive.
Sponsored-by: author
|
|
This is meant to implement the rules described on
https://ikiwiki.info/ikiwiki/subpage/linkingrules/.
Sponsored-by: author
|
|
This will open the chance of other subcommands in the future.
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
It's a subset of ikiwiki and r for rust. Thank you, Daniel
Silverstone, for the inspiration for the name.
Sponsored-by: author
|