A first draft for the proposed Skywoman website.
You will need Node.js and git installed as a prerequisite.
In your terminal, clone this repository and cd into the repo:
git clone https://github.com/skywoman/skywoman.coop.git
cd skywoman.coopInstall the Node dependencies:
npm iStart the local development server:
npm startIn your terminal you should now see the dev server start up, with hot reloading enabled:
> skywoman.coop@1.0.0 start
> npm run docs:dev
> skywoman.coop@1.0.0 docs:dev
> vitepress dev docs
vitepress v0.22.3
> Local: http://localhost:3000/
> Network: use `--host` to exposeOpen your browser to https://localhost:3000/. When you save any changes in the docs/ directory, you should see those changes automatically propagated to the browser window.
Content can be added by creating new markdown files and/or directories in docs/, which will be mapped to corresponding routes.
Currently, there is just one page, ./docs/index.md, which is setup as a single landing page, with pods represented in the ./docs/pods.yml file.
The site is made with VitePress, which transforms Markdown files to HTML and supports templating with Vue.js out-of-the-box. See the VitePress docs on "Using Vue in Markdown" for the specifics on Markdown interpolation.
Support for loading YAML, JSON and other data formats is provided by the Vite plugin, vite-plugin-content.
See the documentation pages for VitePress and Vue.js for further information on how to customize the layout and configuration.
For now, the default VitePress theme is being overridden by ./theme/index.js, but the default can be re-enabled or extended if we wish. See the VitePress docs on "Theming" for more information.