Skip to content

Changes to reduce the size of published documentation on GitHub Pages #1499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 19, 2025

Conversation

UncleGrumpy
Copy link
Collaborator

@UncleGrumpy UncleGrumpy commented Jan 27, 2025

These changes take the first steps necessary to remove older and pre-release versions from the published documentation by removing these versions form the navigation menu. This directs users to recent stable releases, and helps keep the published pages below the 1 GB limit for GitHub hosted Pages branches.

Note: the old documentation versions will be removed from the atomvm_www Production branch in a PR to that repo.

Minor adjustment to graphics format from png to svg to keep sizes smaller and render better on a wider variety of browsers, and improve the quality of the PDF ans epub documents.

Changes to where build artifacts are created to keep them from polluting the published content and consuming unnecessary space.

Adds a missing check for doxgen before attempting to build the documentation.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@petermm
Copy link
Contributor

petermm commented Jan 27, 2025

LGTM!

UncleGrumpy added a commit to UncleGrumpy/atomvm_www that referenced this pull request Feb 18, 2025
Removes old v0.6.0 pre-release directories and temporarily adds a symlink to the v0.6.0 release
documentation until atomvm/AtomVM#1499 is merged. Once these entries are removed from the menu
these symlinks may be removed.

Signed-off-by: Winford <winford@object.stream>
UncleGrumpy added a commit to UncleGrumpy/atomvm_www that referenced this pull request Feb 18, 2025
This is a fix to reduce the size of the "Production" branch of this repo where the GitHub Pages
that host the https://www.atomvm.net website. The production branch has far exceeded its size limit
since the 0.6.5 release, and no further updates to the AtomVM documentation have been visible
on-line since.

Removes old v0.6.0 pre-release directories and temporarily adds a symlink to the v0.6.0 release
documentation until atomvm/AtomVM#1499 is merged. Once these entries are removed from the menu
these symlinks may be removed.

Signed-off-by: Winford <winford@object.stream>
Adds the branchname to the commit message when pushing changes to the Production branch of
atomvm_www to help keep a more sensible commit log.

Signed-off-by: Winford <winford@object.stream>
Adds a missing check for doxygen required to sucessfully build the documentation.

Signed-off-by: Winford <winford@object.stream>
Changes the generated images from PNG to SVG for size and better rendering on most browsers, and in
the generated epub and pdf documents.

Signed-off-by: Winford <winford@object.stream>
There were .doctree cache artifacts being included in the 'doc/html', 'doc/html/pdf', and
'doc/html/epub' folders that are only used during Sphinx generation of the content. Moves the
location of these files to a common location in the build/doc folder outside of the html folder
to be committed. This should have the added benefit of reducing the workload, since all three
versions use can share the same cache files.

Signed-off-by: Winford <winford@object.stream>
Removed the v0.5.0 and pre-release versions of v0.6.0 from the menu in the published documetation.
This will direct users to more recent stable relese versions, and help keep the size of the
"Production" branch of atomvm_www below the 1 GB limit for GitHub Pages branches.

Note: the directories for these old version will be removed from the atomvm_www Production branch
in a PR in that repo, these changes just prvent them from being incuded in the navigation menu.

Signed-off-by: Winford <winford@object.stream>
@UncleGrumpy UncleGrumpy mentioned this pull request Mar 17, 2025
3 tasks
@UncleGrumpy UncleGrumpy requested a review from bettio March 17, 2025 01:02
@pguyot pguyot changed the title Changes to reduce the size of published documantation on GitHub Pages Changes to reduce the size of published documentation on GitHub Pages Mar 17, 2025
@bettio bettio merged commit a580744 into atomvm:release-0.6 Mar 19, 2025
63 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants