Repository that exports the www.robypomper.org Web Site as GitHub Pages.
- WebSite Version: 0.0.1
- Content Version: 20230914
Current repo contains the source code of the Web Site published at www.robypomper.org. This WebSite is based on Docusaurus/Node.js and is structured into the following 4 sections, plus a Blog:
This repo, contrary other repos, use 4 principal brances:
main: release branche used to mergedevelopandcontentbranchesdevelop: classic development branch used for Docusuarus configs and implementationscontent: branch dedicated to the contents updatesgh-pages: dedicated branch to the GitHub Pages deployment
To see the live version, please open a browser and navigate to https://www.robypomper.org.
Otherwise, to run it locally execute following commands. Remember that Node.js and Yarn must be installed on your machine in order to run this WebSite locally.
$ yarn startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. This command will also open the http://localhost:3000/ url in a local browser.
With the WebSite running locally using the start sub-command, you can edit
content or docusaurus files and see the updates immediately at http://localhost:3000/.
This project allows 2 kind of updates:
- contents update: anything related with sections docs or blog articles
- and docusaurus updates: everything else like docusaurus configs but also commons react components
When you must update some content you can use the content branch and create a
sub-branch to commit your work. Once you have terminated with the task, then you
can merge you sub-branch to the content branch.
Only when all content changes has been approved, the content branch can be
merged into the main one. That triggers the GitHub Actions
that builds and deploys the live www.robypomper.org
WebSite.
Before starting any new update, if not yet done, it's required to merge the
main branch into the develop one.
Then when your develop branch is up-to-date, you can start implementing your updates. Like any other developbranch, you can createfeatures/XYsub-braches to organize work and collaborate with others.<br/> Finally when the updates have been approved, you need to syncronize also the contents. Somethimes a Docusaurus update requires to update also the content files. You can do it into thedevelopbranch after merging the latestmainbranch. Update the content files and merge thedevelopbranche into themain`.
NB!: Since you merged latest main commit into the develop branch (in order
to sync contents files), no content updates are allowed.