39 Commits

Author SHA1 Message Date
daveoconnor
88d5fcff59 Resolve issue with docs content spacing (#1953) (#1954) 2025-10-08 13:51:35 -07:00
daveoconnor
8088234bf7 Refactor docs retrieval, and canonical uri addition (#1857) (#1924) 2025-09-30 08:42:27 -07:00
Greg Kaleka
c62bad1f2d Revert unescape in docs processing (#1847) 2025-07-16 16:39:42 -04:00
Greg Kaleka
b5cc63a779 Unescape special characters (#1839) 2025-07-08 12:26:32 -04:00
Greg Kaleka
72112febff Improve performance of processing large docs files (#1799) 2025-05-21 18:43:03 -04:00
Greg Kaleka
ed11fcc4c0 Render library docs as close to original.boost site as possible (#1784) 2025-05-16 12:36:30 -04:00
Greg Kaleka
ff723c4a43 Add libraries redirect (#1770) 2025-05-12 12:21:07 -04:00
Greg Kaleka
8991fc7a8d Fix handling of original doc type (#1733) 2025-04-09 09:55:03 -04:00
Greg Kaleka
10d30cc580 Fix an issue with docs boostlook wrapper div (#1732) 2025-04-08 17:40:55 -04:00
daveoconnor
4d5bf61dc6 Disable boostlook legacy wrapper and remove any inlined boostlook.css style - WIP (#1708)
Co-authored-by: Julio Estrada <estradacjulio@gmail.com>
2025-03-21 09:03:41 -07:00
daveoconnor
8e27b66d93 Added filter to remove all non-static boostlook.css on library docs (#1684) (#1685) 2025-03-07 11:41:06 -08:00
daveoconnor
b8c04c42df Documentation anchor links fixes (#1585) 2025-01-09 10:07:03 -08:00
daveoconnor
3a311469df Added boostlook css to docs (#1507) 2024-12-02 12:38:32 -05:00
Brian Perrett
5a72f58e55 Remove per library release notes from release report. (#1474) 2024-11-19 14:56:41 -08:00
Brian Perrett
83d486e442 Add release notes to release report (#1409)
- fixes #1407
2024-11-04 14:06:11 -08:00
daveoconnor
d4be6fd7f8 Div id=footer for copyright hidden on release page only (#1381)
… (#1380)
2024-10-24 16:29:46 -07:00
daveoconnor
f55c2a2f87 Added filtering out of footer from boost.org release content (#1342) (#1355) 2024-10-21 17:28:34 -07:00
daveoconnor
2c6e7af997 Docs in iframe changes (#1372) 2024-10-21 17:11:07 -07:00
daveoconnor
59b9ae3167 Added wrappers for docs (#1322) (#1348)
For now this will wrap based on the view with the assumption, based on
our discussions, that User Guide docs are based on antora and lib docs
are asciidocs. Should there turn out to be edge cases we will make some
adjustments.

Generated classes will be `source-docs-antora` and
`source-docs-asciidoc`.
2024-10-10 13:02:47 -07:00
daveoconnor
b8ace378df Neighbours based injection wrapping (#1272)
wrap injection based on neighbours, not expected contents
2024-09-20 16:52:20 -07:00
daveoconnor
bd0bb66cc3 Wrap injection body (#1271)
wrap only the body in the injection not the entire injection which
includes heading (#1183)
2024-09-20 13:29:48 -07:00
daveoconnor
46ecdec695 add footer and docs wrapper div injection (#1183) (#1259) 2024-09-19 16:25:13 -07:00
Kenneth Reitz
c3e6e3b70e Remove sponsorship links about downloads from release notes (#1141)
Solves #1116

The code changes in `htmlhelper.py` remove the sponsorship links about
downloads from the release notes. This improves the clarity and focus of
the release notes by removing unnecessary information.
2024-07-09 13:35:41 -04:00
Julio Estrada
150e6ec9f8 Refactor add_class_to_sibling_by_header function and fix argument name in reformat_new_libraries_list 2024-06-26 06:39:41 -04:00
Julio Estrada
055b306f4e Refactor add_class_to_sibling_by_header function in htmlhelper.py 2024-06-26 06:39:41 -04:00
Julio Estrada
c5887d7834 Fix release notes formatting 2024-06-26 06:39:41 -04:00
Kenneth Reitz
329acad55b Remove unnecessary code for formatting nested lists in release notes 2024-06-14 17:26:57 -04:00
Kenneth Reitz
1f33969c27 Fixes #1045 2024-04-08 10:08:27 -04:00
Kenneth Reitz
018b4a9d42 disable modernization for iframe requests 2024-04-04 13:33:55 -04:00
Kenneth Reitz
bffcf568c7 Remove unused CSS classes from HTMLHelper.py 2024-03-26 14:10:37 -04:00
Lacey Williams Henschel
266025d0a6 Add logging, add exception handling 2023-12-05 14:35:13 -08:00
Lacey Williams Henschel
412f9ba587 Modernize legacy release notes
- Add helper functions for modernizing legacy release notes
- Add modernization to release note process
- Fix spelling
- Add tests and error handling
2023-11-30 12:30:21 -08:00
Greg Newman
8ce13d8f82 🐛 don’t prettify
prettify is adding spaces to code blocks
2023-10-09 08:51:29 -04:00
Greg Newman
9a0b233805 🐛 do not block classes on toc 2023-10-06 18:45:04 -04:00
Greg Newman
7c00554bf4 cleans up antora header
* Cleans up the remnants of the antora header during injection.
* Turns on the dark mode switcher for the user-guide
2023-09-13 09:29:54 -04:00
Natalia
800b9e72d1 Expose via query params multiple options for browsing legacy docs. 2023-08-17 22:31:32 -03:00
Natalia
1f39e83c8e Study to restore legacy docs styles except for the header styling.
Disable the theme-switcher in the header for legacy docs pages.
2023-08-17 14:53:48 -03:00
Lacey Williams Henschel
eeb615ceff Load docs urls for library-versions from S3
- Add documentation_url to LibraryVersion table
- Retrieve the documentation_url in the view
- If the documentation_url is not present, show the Version documentation_url
- Hide the "https://" in the template
- Add Celery task to retrieve the documentation_urls from the libraries page in S3 and match them to import_library_versions
- Add HTML helper function to extract the libraries and docs URLs from the HTML
- Add one-time command to import docs urls
- Load the documentation_urls in the command that loads all library-versions
- Add a min-release option to the command that loads library-versions
- Document the new command and changes to the existing command
2023-08-04 08:40:00 -07: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