Management of relations between Hestia(Labs) and/or the collectives and external stakeholders: partners, the general public, journalists, funders, researchers...
The outreach landing page generated from this repository is at https://hestiaai.github.io/outreach/
To update it, follow these steps
- (first time only) Install mkdocs:
pip install mkdocs
- (first time only) Clone this repository:
git clone [email protected]:hestiaAI/outreach.git
- (subsequent times only) Change to the correct directory, then fetch the latest code:
git fetch
git pull
- Make whatever edits you need to make in
docs/index.md
. It is markdown with some embedded HTML (thus you won't get full WYSIWYG if you edit on Github website). Styles are incss/extra.css
. Images are loaded fromdocs/img
and referenced as./img/xxx.jpg
. Do not edit anything in thesite
directory. - To test changes locally, run
mkdocs serve
and loadhttp://127.0.0.1:8000/outreach/
in your browser. As long as the script is still running, any changes saved to the source.md
file will be updated automatically in the browser. New files and nav changes can be made in themkdocs.yml
file. - When you are happy with locally testing your changes, you must build the mkdocs output. This writes HTML and other files to the
site
directory ready for deployment:
mkdocs build
- After a successful build, commit all changes to the
main
branch on git as normal:
git status
git add <files you have changed>
git commit -m "<message about what you have changed>"
git push
- Now you must deploy the generated files in the
site
directory to thegh-pages
branch in order for them to be published via Github Pages at https://hestiaai.github.io/outreach:
git subtree push --prefix site origin gh-pages
- Wait anything from a few seconds to a few minutes for to Github to pick up the changes on the watched
gh-pages
branch update the website. Then you can visit https://hestiaai.github.io/outreach/ and you should see your changes. You may need to do a hard reload (Ctrl+F5 or Cmd+R).
If further details on mkdocs is needed, see https://www.mkdocs.org/