mirror of
https://github.com/ivabus/www
synced 2024-11-22 02:05:06 +03:00
No description
c8e716c267
add og tags to package details page |
||
---|---|---|
.cdk | ||
.design | ||
.github | ||
src | ||
.gitignore | ||
.justfile | ||
.markdownlint.json | ||
babel.config.js | ||
LICENSE.md | ||
lychee.toml | ||
package-lock.json | ||
package.json | ||
README.md |
Deploys to tea.xyz.
Legal
You may not publish this website in an attempt to masquerade as tea.inc. The tea logo and wordmark are registered trademarks of tea.inc.
Contributing
- The site is built with Hugo and Bootstrap.
.html
files in./src/layouts/page/
have a corresponding.md
file in./src/content/
.- Repeated components are in
./src/layouts/partials/
.
Getting Started
hugo can render your edits while you work:
hugo serve --watch --buildDrafts --source src
# or
just serve
Package Pages
The detail pages of each package are not committed to the repository for the
simple reason of that would be too much repeating data.
Execute the following command just once per version of
/src/data/packages.json
. This will create the package detail pages in
/src/content/+[package.full_name].md
.
Which resembles the installation tag in tea cli
.github/build-package-pages.sh src/data/packages.json src/content
# or
just package-pages
Dependencies
Project | Version |
---|---|
gohugo.io | >=0.99 |
nodejs.org | =18.13.0 |
npmjs.com | >=9<9.6.5 |
just.systems | ~1 |
Build
Builds a static, deployable version of the website.
npm ci
hugo --source src --destination ../public --minify
# or
just build