pho4cexa
e039c29a83
don't break on empty file in ISSUES/
2023-02-23 23:33:53 -08:00
pho4cexa
c6acfbb916
don't complain if .link file doesn't exist
2023-02-05 00:16:45 -08:00
pho4cexa
54a2a0f26d
move git-calling procedures to a separate module
2023-02-05 00:12:13 -08:00
pho4cexa
c943210189
minor improvements to modular compilation
...
- rename main.scm to repo2html.scm to match binary
- remove unused imports from utils.scm
2023-02-04 22:45:21 -08:00
pho4cexa
936a37bc76
viable first brush at breaking code into modules
2023-02-04 21:40:06 -08:00
m455
3d17ca5d78
one more (hopefully?) css tweak, since i find the black/white contrast causes my eyes to blur haha
2023-02-04 00:40:05 -05:00
m455
f05825db4e
css font adjustments for readability. also separated css rules that had more than one rule into multiple lines for readability
2023-02-04 00:23:01 -05:00
m455
883efa9bfd
okay i made it slightly more cute. i couldn't help myself
2023-02-03 23:43:59 -05:00
m455
9098d8e2ee
Made default template a little more reasonable and added support for dark themes too
2023-02-03 23:37:35 -05:00
m455
758352c8cd
adjusted active line highlighting
2023-02-03 23:22:19 -05:00
m455
c1a4eccd92
fixed an inconsistency that i added by accident that was bothering me lol
2023-02-03 02:44:55 -05:00
m455
52682b18be
updated default css
2023-02-03 02:42:42 -05:00
m455
5c7d1fdf59
implemented numbered lines
...
with the caveat that things don't overflow:scroll yet :/
2023-02-03 02:16:36 -05:00
pho4cexa
d676745ec7
Merge branch 'main' of git://git.m455.casa/repo2html
2023-02-01 20:32:38 -08:00
m455
0a9518c2e4
Fixed a bug that broke links to files if a readme wasn't present
...
There was a bug that caused a double "html/html" in front of the link
URLs for each file listed in the "Files" view.
This PR fixes this. It's an ugly fix, because I just replaced "html"
with "" as the function argument, but it works? haha. Feel free to do
this the proper way, if such a way exists!
2023-02-01 23:27:56 -05:00
pho4cexa
c472cc46c1
handle both (@ (src "foo")) and (@ (src ("foo")))
2023-02-01 17:22:14 -08:00
pho4cexa
db64dfb68f
quote source-file so it doesn't break when it has spaces in. tidy issues.
2023-02-01 17:09:45 -08:00
pho4cexa
64aa954d32
move issues into ISSUES/ ; shorten readme
2023-02-01 16:24:28 -08:00
pho4cexa
12790c87e4
ah finally fixed the image prefix for index.html thing
2023-01-16 15:17:58 -08:00
pho4cexa
e6d77be6a5
adjust relative urls for img src too
2023-01-15 11:34:38 -08:00
pho4cexa
1c5b636236
note some feature requests
2023-01-08 12:00:08 -08:00
pho4cexa
7ab0b3e13f
add to readme: all predefined template variables
2023-01-08 11:55:19 -08:00
pho4cexa
b26b6eea15
bit more in the readme about new template variables
2023-01-08 09:37:46 -08:00
pho4cexa
0eece2a92e
improved template variables for working with ForgeRoot
2023-01-08 09:27:39 -08:00
pho4cexa
838489079e
attempt at consistent environment/git config
2023-01-08 00:53:04 -08:00
pho4cexa
6f93a9d3b4
bugfix: apply relative link html/ prefix and .html suffix correctly
2023-01-07 12:03:20 -08:00
pho4cexa
a49e5697a9
don't manually append .html in markdown
2023-01-07 11:13:34 -08:00
pho4cexa
23487309c8
repair bugs in alist-update-in
...
dang this hurt my brain. need to figure out a better way
2022-12-27 22:04:33 -08:00
pho4cexa
80a8dbb261
remove manual html/ prefix
2022-12-26 21:58:30 -08:00
pho4cexa
5fe00426b1
whoops! commit f1c42b4
broke the link prefix thing. fixed.
2022-12-26 21:56:09 -08:00
pho4cexa
e411b57c54
oops paren
2022-12-26 10:51:07 -08:00
pho4cexa
57fcccc276
distinguish between repo name and repo path
2022-12-26 10:49:17 -08:00
pho4cexa
f1c42b4a6a
move the decision about where to render the filename into the template
2022-12-26 10:38:04 -08:00
pho4cexa
e2487098c5
add some links and todos to readme
2022-12-26 09:10:45 -08:00
pho4cexa
629e3739f2
only permalink-ify those that have links to interior ids
2022-12-26 08:09:48 -08:00
pho4cexa
206984b099
pull the relative-link-adjustment rule into a procedure
2022-12-25 23:28:51 -08:00
pho4cexa
31b11de1a6
update-in and ref-in (takes a path of keys) for nested alists
2022-12-25 23:16:07 -08:00
pho4cexa
17ce8565f8
add ¶ markers on hover on titles to make it easier to grab the permalink
2022-12-25 15:40:45 -08:00
pho4cexa
fbc6c6c8f4
today i learned cute/cut (srfi-26, built in to chicken) for sorta-currying
2022-12-25 14:35:31 -08:00
pho4cexa
696ed31f85
whoops, don't prefix links to same-document anchors either
2022-12-22 21:21:11 -08:00
pho4cexa
6536af16ce
put message about docker image after docker build, before compile
2022-12-22 21:03:35 -08:00
pho4cexa
505192d7be
bugfix: only prepend 'html/' to relative links
2022-12-22 21:00:46 -08:00
pho4cexa
5e9e713847
Merge branch 'main' of git://git.m455.casa/repo2html
2022-12-22 20:31:28 -08:00
pho4cexa
afe41bcc01
auto-prepend html/ in links in toplevel readme, remove tag from id of headers
...
this code is so ugly!! augh!! definitely need to rework it and find a
better way to reach in and manipulate sxml trees
2022-12-22 14:53:13 -08:00
m455
3656ea4447
small tutorial fix
2022-12-20 01:36:28 -05:00
m455
d66ff630d2
hmm it doesn't work again lol
2022-12-20 01:27:22 -05:00
m455
d210d06f8f
small wording edit
2022-12-20 01:22:38 -05:00
m455
a063ba31fa
fixed a small nit in the requirements
2022-12-20 01:11:36 -05:00
m455
b6097a77a5
hmm lets try to fix that link again...
2022-12-20 01:07:47 -05:00
m455
ef34d55898
prefixed 'html/' to tutorial link. fixed line lengths
2022-12-20 01:05:34 -05:00