Commit graph

57 commits

Author SHA1 Message Date
Steffen Busch
839ec63c38
Fixed twitter post link SwiftOnSecurity (#360) 2023-12-15 08:27:17 -07:00
Matthew Holt
740acd7aa5
Eliminate horizontal scroll on mobile safari 2023-12-12 14:25:18 -07:00
Francis Lavoie
73d7aea616
Slight nav CSS adjustment, more compact 2023-12-12 10:45:20 -05:00
Francis Lavoie
ddced518a1
Minor responsiveness adjustments 2023-12-11 14:50:05 -05:00
Matt Holt
07c51663ab
New Website: Phase I (#357)
* Initial commit; starting new design

Dropdown menu

* Begin docs layout of new design

* Get themes under control; button hover splash

* Some basic responsiveness

* Finish responsive layout; several bug fixes

* Avoid flash during color scheme change

* Begin building top of homepage

* docs: Start building quick-assist feature

* Work on homepage a little more

* Keep working on homepage

* More homepage progress

* Some sponsor SVGs

* Add sponsor features

* Implement basic Sponsor Experience box

* Reorganize some styles

* WIP sponsors page

* Start features page WIP

* Minor improvements

* Fix headings; work on features page

* WIP features page

* Continue work on marketing pages

* Continue work on features page

* More features WIP

* Continue features page...

* More work on features page

* Keeping going  :)

* Continue home and features pages

* More homepage/features content, screenshots, tweaks

* Minor fixes to features page

* Minor tweaks

* Work on testimonials

* Work on homepage more

* More homepage work

* Continue work on homepage

* Add some sponsor logos

* Some citation screenshots

* Add citations

* Start making homepage responsive

* Re-add cache busting

Fix docs

* Use markdown syntax highlighting on frontpage

* Rework AJQuery to $_ to not interfere with jQuery

* Rewrite quick assist with AlpineJS, use markdown for contents

* More work on marketing pages

* Rebase and fix code displays

* Syntax highlight on-demand example, fix rollover

* Adjust on-demand demo

* Work on responsiveness

* Keep working on responsiveness

* Mainly finish making design responsive

* Thiccer favicon

* More work on marketing pages

* Keep on going

* Fix link

* Move new site into src folder

* Add open graph image

* Add recorded demo for homepage

* Tweak caption

* Fix Poppins font for now

* Minor tweaks

* Trim demo ending

* Remove unfinished pages

Also update Framer logo

---------

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
2023-12-11 10:07:34 -07:00
Matthew Holt
93cca3f370
Mostly finish profiling article 2023-11-06 14:36:57 -07:00
Matthew Holt
904071881b
docs: Start writing article about profiling 2023-11-03 00:01:01 -06:00
Francis Lavoie
620ff0ce35
Lots of minor adjustments (#341) 2023-08-29 18:47:54 -04:00
Francis Lavoie
1197a29dd2
Introduce tabbed sections in Markdown, Docker docs (#310) 2023-03-21 11:18:29 -06:00
Matthew Holt
5cee52a81c download: Add notice about bugs in go command 2023-03-10 10:11:48 -07:00
Matthew Holt
41951cec2b docs: Fix logo color in dark mode 2023-01-03 13:51:13 -07:00
Matthew Holt
cdc20b7d83
New logo 2022-12-30 12:35:53 -07:00
Matthew Holt
8c7e188f5e Center header image 2022-11-30 16:02:02 -07:00
Matthew Holt
2ab3061111
Update docs for 2.6 2022-09-06 13:57:07 -06:00
Mohammed Al Sahaf
47f2e155bf
download: add warning message for macOS users to unquarantine the binary (#249) 2022-07-21 11:40:45 -06:00
Matthew Holt
522d1961d1
I hate JS 2022-07-05 13:29:22 -06:00
Matthew Holt
1bf01c7020
download: Umm apparently that wasn't good enough 2022-07-05 13:28:27 -06:00
Matthew Holt
2c035253ab
download: Make fathom optional
It seems to be blocked by ad blockers??
2022-07-05 13:25:38 -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
64d67e510e
json: Make URL #fragment jump to the right spot after loading (#233) 2022-05-15 13:02:31 -06: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
2fb9ef5f23
js: Fix nonstandard module box display
Dunno why show() stopped working, but oh well
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
Francis Lavoie
c5e3aef0a2
docs: Dynamically turn subdirectives into links to anchors (#190)
* docs: Dynamically turn subdirectives into links to anchors

* Make entire rows clickable on directive page's table
2021-08-31 12:50:01 -06:00
Francis Lavoie
a7861e98f7
js: Default to linux-amd64 and fix split() call on platform (#187)
In certain cases where the platform cannot be automatically determined, we should at least populate a default so that the download page doesn't break.
2021-08-13 14:59:45 -06:00
Matthew Holt
85dbc186c2
docs: Minor updates to file_server and reverse_proxy 2021-06-17 14:12:56 -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
BOUT Valentin
e714536de1
download: Implement pre-selected packages (#129) 2021-01-22 12:38:34 -07:00
Matthew Holt
1bdf4a6343 Add zerossl branding 2020-11-25 10:47:01 -07:00
Francis Lavoie
6b4998a5dc
docs: Use headers for individual global options, anchor linkable (#100) 2020-11-12 15:54:37 -05:00
Francis Lavoie
05fa4bcca1
docs: Minor JSON docs bugfix for hiding a header, remove invalid comment (#87) 2020-09-25 15:33:02 -06:00
Matthew Holt
af3676862b
docs: Update for v2.2 2020-09-25 12:53:11 -06:00
Francis Lavoie
2c6a8a0f9f
docs: Add links to matchers and <directives...> (#84) 2020-09-16 17:46:38 -06:00
Francis Lavoie
99c602bf11
docs: Add links to Caddyfile directives in code blocks (#82) 2020-09-16 13:59:49 -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
e52e32ba7d
Update site for 2.0; add v2 landing page with asciinema video; docs 2020-05-04 19:39:11 -06:00
Matthew Holt
144a639efc
Oops, forgot css file 2020-05-02 23:33:28 -06: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
e918275b63
Disable debug mode on algolia search dropdown 2020-03-26 13:00:57 -06:00