16 Commits

Author SHA1 Message Date
Greg Kaleka
0384ee994e Fix straggler links to old review process page (#1487) 2024-11-23 09:56:46 -05:00
sdarwin
f80721b0fc Remove fallback url map going to s3 2024-04-12 12:52:40 -04:00
Spencer Strickland
43ab2c4a6d Added /page mapping to root of site-pages 2023-10-25 12:49:51 -05:00
Natalia
2c4f8675ce Modernize legacy doc libs pages fetched directly from S3.
This modernization occurs on the fly over potentially-cached S3 files. This
means, the legacy doc pages are fetched and cached just like any other S3
static content, and the modernization happens when the page is requested. This
way, we can safely render modern parts of the pages (like the header) and
account for dynamic state such as logged in users.

The resulting docs (also called FrankenDocs :-)) are processed using
BeautifulSoup and a fairly simple heuristic that can be found in the
`core/htmlhelper.py` module.
2023-07-28 10:13:06 -04:00
Lacey Williams Henschel
25ee520876 Move /doc/ site_path lower down 2023-07-20 22:02:44 -03:00
Lacey Williams Henschel
4af0c76a3e Add the link to documentation to the Releases page
- Add site_path for release docs in S3
- Use live release docs link in template
2023-07-12 14:20:50 -07:00
Lacey Williams Henschel
4e3156300f Add help page path to static content json paths 2023-06-06 11:14:50 -07:00
Natalia
a8cd8f507a Ran pre-commit run -a
Completed runs of black and rest of pre-commit checks.
2023-05-30 23:21:53 -03:00
Lacey Williams Henschel
7c706e423e Add path to fix 404s 2023-05-11 11:46:39 -07:00
Frank Wiles
7826602b2b Remap docs to new S3 layout 2023-04-26 09:22:55 -05:00
Frank Wiles
a4e1d2b02f Adjust static content paths for /develop/doc/
- Add feature to static site finding that looks for `/index.html` if URL
  ends with a slash
2023-04-14 15:56:19 -05:00
Lacey Williams Henschel
83e12164ab Cleanup -- all should work now! 2023-04-05 08:58:18 -07:00
Lacey Williams Henschel
296e67609f Fix some tests
Also changed the config because the test path I had, ironically, led to an html file with a redirect, and that was throwing me for a loop
2023-04-05 08:29:37 -07:00
Lacey Williams Henschel
9ad183fa5a 🔧 Add a second config option 2023-04-05 08:18:06 -07:00
Lacey Williams Henschel
23289868cf 🚧 Progress on config for static content
Works now with the most basic setup: replace /site/develop/ with just / in the url
2023-04-05 07:19:45 -07:00
Lacey Williams Henschel
d5efd6eb43 ❄️ Add static content config file
For testing/proof of concept
2023-04-04 21:08:43 -07:00