commit | 3ef88e6e636b8a58963ec956553b687dc3f0115b | [log] [tgz] |
---|---|---|
author | Andrew Lamb <andrew@nerdnetworks.org> | Sat Dec 07 06:57:44 2024 -0500 |
committer | Andrew Lamb <andrew@nerdnetworks.org> | Sat Dec 07 06:57:44 2024 -0500 |
tree | cb1e5f611cc8b7ddd1ba3159becbbe5ae7c69aab | |
parent | 7d3e68ae579f8985d8a0cf9010aa469973a2004d [diff] |
fix frontmatter
This repository contains the Apache DataFusion blog at https://datafusion.apache.org/blog/
git clone https://github.com/apache/infrastructure-actions.git cd infrastructure-actions docker build -t df-site-build pelican
Then within the directory that contains datafusion-site
you can build and test the site using:
docker run --rm -it -p8000:8000 -v $PWD:/site df-site-build:latest
Navigate in your web browser to [http://localhost:8000] to view the live website. This page will monitor and rebuild the site when you make any changes to the file structure, so you can edit and see the results by just refreshing your browser.
The site publishes using a GitHub action provided by the ASF Infrastructure team. See the ASF-Pelican site for most details on how this process works.
To preview your site live, create a branch named site/my-feature-x
. This should auto-publish to https://datafusion.staged.apache.org/blog
When you are satisfied with the staged branch, merging into main
should cause the site to build via github actions and publish.
The website is updated from the asf-site
branch. You can check the status at ASF Infra sitesource
The JavaScript and CSS files included in this repository are based on the example from the ASF Infra and modified slightly for our purposes. If you need to update these, the core libraries to use are
.map
file. This is an common library used to provide a host of useful JavaScript functions for websites.