Commit graph

27 commits

Author SHA1 Message Date
Matthew Holt
cdc20b7d83
New logo 2022-12-30 12:35:53 -07:00
Matthew Holt
2ab3061111
Update docs for 2.6 2022-09-06 13:57:07 -06:00
Francis Lavoie
0ab6e3f005
css: Fix layout on mobile 2022-05-17 22:34:33 -04:00
Max Truxa
23297691f1
docs: Fix Debian installation instructions (#219)
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
2022-05-17 11:05:56 -04:00
Francis Lavoie
e03cbec7c4
css: Rework how paper is positioned (#230)
On Firefox, we were seeing an extra large horizontal scrollbar. Didn't happen on Chrome though. I think it's an edgecase bug with Firefox... but I think we can take a better approach that can avoid it anyways.

The CSS for `paper` classes was set up so that they would stack/overlap onto eachother. It was using `left: -100%;` and `left: -200%;` on `paper2` and `paper3`, to stack the next two on top of the first one, all three being relative positioned.

The problem comes because I think Firefox calculates the scrollbar width before relative positioning calculations come into play, so because the elements were rendered way off to the right before being moved over, it would "grow" the page really wide. Go to https://caddyserver.com/docs/ on any browser, element inspector, find `#paper2` and `.paper3`, uncheck the `left` CSS prop on both of those. You'll see that they render over to the right.

An alternate way to do the same thing is to use negative margins to stack the elements. I think margins are calculated earlier, so on Firefox this doesn't cause a scrollbar problem.

I did need to use a `calc()` unfortunately to get it pixel-perfect positioning compared to how it was before, because `#paper1` has `margin-left: 20px` and then `#paper2` inherits that margin so it needs to remove the extra 20px to realign. `calc()` is cheap though. It's fine.

Also, need `z-index: -1;` to make sure the BG papers go behind the page content.
2022-05-11 11:28:10 -06:00
Francis Lavoie
e0541c0f3f
docsearch: Upgrade to v3 (#231)
See:
- https://docsearch.algolia.com/docs/DocSearch-v3
- https://docsearch.algolia.com/docs/migrating-from-v2
2022-05-11 10:31:22 -06:00
Francis Lavoie
42d97e9a14
logos: In dark mode, use invert + hue-rotate (#232)
The ZeroSSL logo and the bottom Caddy logo didn't look good in dark mode.
2022-05-11 10:24:45 -06:00
Matthew Holt
7c2519209c
Minor tweaks
Link to Twitter is needed for account verification
2022-03-08 15:05:57 -07:00
Matthew Holt
f3f21afac0 Improve docs hovercard and nonstandard notice 2021-10-12 14:51:49 -06:00
Matthew Holt
e132c5c454
docs: Better support for module name collisions
In /docs/modules/, show both modules if module IDs are not globally unique.
Show both modules' docs on same page in expandable containers.

In /docs/json/, both modules appear in lists in the doc, but disambiguating them isn't implemented yet.
2021-06-02 15:16:15 -06:00
Matthew Holt
5c3a67692e
New download page, better JSON/module docs 2021-05-25 17:26:54 -06:00
Matthew Holt
1bdf4a6343 Add zerossl branding 2020-11-25 10:47:01 -07:00
Matthew Holt
af3676862b
docs: Update for v2.2 2020-09-25 12:53:11 -06:00
Matthew Holt
55b2a684c8
A few minor tweaks; remove unsupported platforms from download page
Fixes #51 along with a few other errors
2020-07-31 18:50:14 -06:00
Matthew Holt
4f6d355a97
Account portal, download page, non-standard module docs
This ends v1 on the website. Docs archive still available through a
sidebar nav link in the docs.
2020-07-16 15:53:33 -06:00
Daniel Santos
6161a07af2
docs: tls: Add client_auth subdirective docs (#55)
* doc(tls): Add the tls.client_auth Caddyfile directive doc

* doc(client_auth): Additional explanation for the client_auth example

* doc(client_auth): Add multiple trusted_ca directive notes

- Update the example as well

* Fine-tune tls docs formatting

Co-authored-by: Matthew Holt <mholt@users.noreply.github.com>
2020-06-11 11:47:34 -06:00
Matthew Holt
1d636ee43c
docs: Add link to wiki in nav 2020-06-02 20:03:43 -06:00
Francis Lavoie
f2a35c2aa6
docs: Fix (new) label text color in dark theme 2020-05-17 18:35:13 -04:00
Matthew Holt
f181d98e38
Minor style updates, add business contact page 2020-05-02 23:26:37 -06:00
Matthew Holt
2973be1e45 A few minor fixes/tweaks 2020-04-04 16:17:59 -06:00
Matthew Holt
3ecf039665
docs: All-new design, along with many content updates in prep for RC1 2020-03-30 15:38:40 -06:00
Matthew Holt
208c48130d
Add Algolia search 2020-03-26 12:57:10 -06:00
Matthew Holt
54592ba4d5
docs: Minor improvements / fixes 2020-03-22 16:14:17 -06:00
Matthew Holt
ca8197d483
docs: Add SPA page for listing modules by their ID 2020-03-21 21:03:29 -06:00
Francis Lavoie
44f6195f31
docs: Add anchor links to headers (#11)
* Add anchor links to headers

* Removed the dependency!
2020-02-26 14:30:54 -07:00
Francis Lavoie
d1997764cf
docs: Improve dark theme warning aside (#12)
Also wrapped @id with backticks to make it look a bit nicer
2020-02-26 13:52:16 -07:00
Matthew Holt
03b6fddeb0
Initial commit 2020-01-24 12:47:52 -07:00