d07260331b
remove unused figure classes
...
these are being reworked and I don't think I'm going to do responsive
stuff anymore
2022-04-19 08:41:58 -05:00
2c47501589
remove unused thumbnail class
...
used to appear on a couple images, the styling was replaced with some
more explicit image tags and soon will be replaced again with figure
stuff
2022-04-19 08:41:58 -05:00
f15d955067
initial crack at a block-level figure parser
...
I didn't like the other figure + figcaption parsers, they either assumed
a lot about usage (e.g. images only), or they were inline parsers that
either wrapped the figure in a paragraph tag (which is incorrect syntax)
or did span trickery (annoying)
so, this handles images and maybe other things, and does things properly
with figures as their own blocks. incomplete but it works with my
images, and should allow for looping (for multi-line content) in the
future?
2022-04-19 08:41:55 -05:00
b3c3c0de45
clean up the default markdown configuration a bit
...
this brings the config a bit closer to my default, and updates the
expectations of a test accordingly
2022-04-19 06:45:32 -05:00
853a58b78b
make the breadcrumbs and style menu a bit nicer
2022-03-24 22:41:34 -05:00
3cade4fe73
add the image floats to the plain CSS
...
primarily it's the main page that just looks weird without it
2022-03-24 22:28:09 -05:00
63a764c6a0
don't use system tz, display timestamps as UTC
...
no particular reason, just one less dependency, and it goes further
towards my idyllic world where everyone is on UTC and there are no
timezones
2022-03-24 22:12:00 -05:00
d129d04e04
remove mdx_linkify and do requirement bumps
2022-03-24 22:00:37 -05:00
410f96ffb4
relicense under the AGPLv3+
...
after a lot of deliberation I think I'm starting to prefer GPLv3 over
GPLv2 for copyleft, and this is a case where my rationale benefits from
the additions of the Affero clause
2022-01-17 16:55:24 -06:00
e325831f70
some tweaks to the CONTRIBUTING section
2022-01-17 16:49:40 -06:00
56289ab75d
remove warning for coverage feature not in use
2022-01-15 17:40:12 -06:00
d623c9c93d
adding support for 3.10, dropping support for 3.7
2022-01-15 17:35:56 -06:00
9d87aab61b
go back to lighter red in dark style
...
contrast is just too low for the "incorporeal red"
2022-01-03 12:40:30 -06:00
35ea94185b
unify some of the colors in light vs. dark
2022-01-02 22:55:43 -06:00
69feb0c29c
add a 75% max-width class, using it for GOTY?
2022-01-02 22:51:21 -06:00
788a9cbaba
use a smaller font for the styled pages
2022-01-02 22:50:04 -06:00
be6d96273c
eliminate warnings about how we register the pydot markdown extension
2021-11-03 14:16:18 -05:00
a700470067
document the customization options
...
more work towards #15
2021-11-01 23:36:10 -05:00
8a62167cea
remove some self-specific stuff from settings
...
implements most, if not all, of #15
2021-11-01 23:27:00 -05:00
4ea824e86f
provide some comments explaining the css files
2021-11-01 23:20:42 -05:00
28dbfd45b5
remove bss-specific image from the package
...
part of the work of #15
2021-11-01 23:20:16 -05:00
1de69dfc70
requirements bump
2021-10-08 07:30:46 -05:00
ccf8434f43
remove a bunch of unnecessary font size styling
...
in the end, a lot of this doesn't really matter, and right now, I
slightly prefer the site with a touch bigger font, so let's just let the
default do its thing
2021-10-08 07:16:31 -05:00
5aabb79199
call the pydot rendering support 'dot' in package extras
2021-10-08 07:09:21 -05:00
509072ab78
safety in tox: scan requirements for known bad packages
2021-06-24 11:46:56 -05:00
e61c55bed2
handle graphviz parsing errors more cleanly
2021-06-24 11:37:57 -05:00
41a53a2a13
add py39 environment to tox test envs
2021-06-24 11:23:36 -05:00
da055acda6
provide markdown extension to render graphviz
...
this is server side, and a more standard format, and thus I like it more
than mermaid, which I've been using at work. but, I really wanted a
server-side option (see my manifesto) for drawing relationship graphs,
for D&D stuff of all things.
this adds an optional 'graphviz' feature to package installation which
consequently depends on pydot
2021-06-24 09:46:26 -05:00
1583e3be99
more debugging and catch md misconfigured error
2021-06-24 09:43:00 -05:00
946a557177
correct the license declaration to match LICENSE and README
2021-06-24 08:34:26 -05:00
f0d4e7d3d9
have footer clear: both;
...
closes #14
2021-06-06 22:28:43 -05:00
954f7f4e80
allow markdown files to specify a redirect
...
closes #13
2021-06-06 22:24:35 -05:00
27bb139a2b
add installation and usage information
2021-06-05 22:59:00 -05:00
c15862850f
add a CONTRIBUTING file
2021-06-04 17:41:18 -05:00
afbfab338f
properly apply site wrap classes to style wide version
...
fixes #12
2021-06-03 07:52:01 -05:00
cac6b40af5
relicense the project under GPLv2
...
prepping for an actual public release of a sort, this hopefully
clarifies the license and copyright
license from https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2021-06-02 07:44:23 -05:00
65bc028524
implement base-wide.html as an extension of base.html
...
not quite sure why I didn't think of this initially... too much hacking
2021-05-19 22:30:20 -05:00
e8377adcf5
allow pages to specify different templates
2021-04-30 19:41:39 -05:00
f4beb15a3b
make directory redirects absolute paths
...
I think this is always the right choice, since we're rewriting the full
input path
2021-04-17 15:06:39 -05:00
da447d2873
Merge branch 'master' of git.incorporeal.org:bss/incorporeal-cms
2021-04-17 14:57:20 -05:00
cde82ab918
don't route /media separately anymore
2021-04-17 11:16:34 -05:00
1ac13f3b9c
add some 500 tests for test coverage
2021-04-17 11:08:01 -05:00
6705fa38eb
requirements bumps
2021-04-17 10:58:06 -05:00
30b79e9dc1
add tests for subdir symlinks
...
this is automagically supported by the previous rewrite
2021-04-17 10:39:05 -05:00
60715a3a5c
make request -> instance conversion support symlink dirs
...
I think this also clarifies the code, a bit
2021-04-17 10:31:05 -05:00
c90f0a3a42
treat symlinks as redirects
...
closes #7
2021-04-15 21:44:02 -05:00
71ead20f3f
have file handler return render type rather than bool
...
for when we have further types to render
2021-04-15 20:36:30 -05:00
be88c3c1bc
don't error on breadcrumbs if a dir doesn't have index.md
...
fixes #8
2021-04-14 21:35:14 -05:00
ced67bec8b
allow for serving files directly inside pages/
2021-04-14 20:45:50 -05:00
757b067e16
create a "plain" style with next to no CSS
2021-03-09 09:10:33 -06:00