Andrew Morgan
f261919fee
Add long-winded comment about why display: table is needed
2022-11-08 16:36:42 +00:00
Andrew Morgan
4473805c27
Link to docsy docs on $td-enable-google-fonts
2022-11-08 16:36:39 +00:00
Andrew Morgan
a2c9580ec5
Update SCSS comment formatting to match the repo
...
SCSS's documentation seems to suggest a similar style:
https://sass-lang.com/documentation/syntax/comments
2022-11-08 16:24:53 +00:00
Andrew Morgan
a101159d96
Clarify comment about loading Inter
2022-11-01 18:33:41 +00:00
Andrew Morgan
343edc7a12
Disable all google fonts for docsy, load inter directly
...
This fixes https://github.com/matrix-org/docsy/issues/1 .
2022-10-27 17:17:57 +01:00
Andrew Morgan
0907cf794a
force table to display as a table
...
Otherwise table-layout has no effect. I'm not sure why this broke,
possibly https://github.com/google/docsy/pull/1255 .
2022-10-27 17:15:17 +01:00
Travis Ralston
afc0e6a026
Add CORP headers to media repo ( #1197 )
...
* Add CORP headers to media repo
MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/3828
* Write weird CSS rules to make added-in work inline in the CS spec
Even though our content doesn't need 2 paragraphs, it's good to have the capability to render it in the future.
* Remove test paragraph
* Refine prose
* spelling is key
2022-08-09 10:44:51 -06:00
Richard van der Hoff
ef384f1afd
Give rendered-data sections a background and some padding ( #1195 )
...
Gives definition sections for APIs, events, etc a background and a small indent, which I find very helpful to guide the eye.
2022-08-04 09:46:11 +00:00
Richard van der Hoff
dc4fd9bdd6
Render HTML anchors for definition blocks ( #1191 )
...
It's handy to be able to link to these.
2022-08-03 07:28:47 +01:00
Richard van der Hoff
b58c7a5839
Reinstate margin between tables ( #1192 )
2022-08-02 23:47:57 +01:00
David Robertson
69ff51c017
Tweak style of <code> samples in rendered tables ( #1179 )
...
* Tweak style of `<code>` samples in rendered tables
This has been subtly irritating me for aaaaaaages
* Changelogs
2022-08-02 14:49:27 +01:00
Richard van der Hoff
91aebd62c4
CSS hack to fix scroll anchoring ( #1183 )
...
Disable explicit `height` setting for the top-level div, which breaks scroll
anchoring
2022-08-01 11:08:15 +01:00
Richard van der Hoff
ea42cd3c7b
Move various e2e defintions out to yaml files ( #1166 )
...
We have code to generate tables, which we should use in the e2e section.
2022-07-19 22:02:48 +01:00
Richard van der Hoff
03cdea4b57
Style tweak for API rendering ( #1012 )
...
Tighter bound on the `max-width` property for paragraphs inside rendered
APIs. AFAICT it's only meant to apply to the summary.
2022-03-31 10:33:53 +01:00
Richard van der Hoff
d38663f65d
Fix syntax highlighting in rendered spec ( #1008 )
...
* Configure syntax highlighter to use CSS classes
the inline `style` attributes cause CSP errors (and don't work). Instead, we
can use proper CSS classes.
* Configure response headers for Hugo dev server
make the dev server serve response headers which match the live site, for
better testing.
2022-03-29 16:02:48 +01:00
Richard van der Hoff
d199c05e97
Suppress scroll-anchoring in the sidebar ( #992 )
2022-03-08 17:54:00 +00:00
Andrew Morgan
a8f7723fe5
Rename assets-hugo directory to assets ( #3259 )
...
Now that we've dropped the old build pipeline (and an assets directory does not exist in the repo any longer, we can rename the hugo version of the assets (assets-hugo) created during the build tools migration back to simply assets.
2022-01-06 10:37:13 +00:00