commit | 6a89a509aab993a3e3d8724380db7da07638a84a | [log] [tgz] |
---|---|---|
author | Dave Fisher <dave2wave@comcast.net> | Sun Jun 06 06:52:08 2021 -0700 |
committer | GitHub <noreply@github.com> | Sun Jun 06 06:52:08 2021 -0700 |
tree | 38ca5a305dbf12d1a805b0b4057471782db7ca6b | |
parent | 35de8964c4e2f6378f33097767904cfa019a9cd3 [diff] |
Update .asf.yaml with preview branches autostaged
This is the content and theme for https://openoffice.apache.org/
Currently the site is built into https://openoffice.staged.apache.org/
You can fork from https://github.com/apache/openoffice-project, test your changes as described below and raise a pull request.
You can simply raise a pull request with a set of simple changes.
Use the dev@openoffice.a.o mailing list to contact the OpenOffice PMC which manages this website.
Commits to the main
branch are automatically published using Pelican using the instructions in the .asf.yaml
file. Information about .asf.yaml
is found here.
Any build failures are reported to commits@openoffice.a.o mailing list.
Updating a single file is simple. Simply edit the file online and save with your commit message. The website will be published in a minute or two.
The website is built using Pelican and a custom theme. The builds for the website do require internet access.
To get a copy of the repository you can either point to Gitbox
or GitHub
.
cd ~/Development/openoffice rm -rf site.git git clone https://gitbox.apache.org/repos/asf/openoffice-project.git site.git git fetch git pull git checkout main
To test the site locally, use
pelican content -t theme/openoffice pelican --listen
This builds the site, serves it locally at http://localhost:8000/.
All of the pages in the site are in Markdown in md
files.
Pelican templates are included in the theme
directory. The site templates are written in html
. sidenav.html
is used and was derived specially from sidenav.md
. To change the side navigation edit the html
.
All content - pages and assets are in the content tree.
https://github.com/apache/openoffice-project/tree/main/content