Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9
Documentation of Materialize
materializecss/materialize-docs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project uses pnpm with workspaces. So pnpmshould be installed.
This project has been generated from with a$ pnpm create vite command and selecting the vanilla-ts project.
Materialize has been added as a git submodule in packages folder and then defined as apnpm workspace, to use it as a monorepo.
Typescript has been configured to treat all projects in /packages folder as typescript packages.
head, navbar and footer in all html pages has been defined usingvite-plugin-handlebars.
git clone https://github.com/materializecss/materialize-docs.gitcd materialize-docsgit submodule initgit submodule updatepnpm installpnpm devThis is a very convenient way to work in materialize or docs because all changes in both projects are inmediately displayed in the browser.
Also browser debugging displays the files exactly as they are in the source.
Note: when a new page is selected it takes some time to render completely the page. This not happens in the build version.
- Pull the newest main branch from thecore repository
pnpm buildpnpm previewThe docs should be kept in the core repo as markdown files for quick editing. This repo should thencollect all the markdown files from the core repo and compile them into a collection of nice html files,The versions are managed in docs/version/ to keep different versions. The workflow was removed for now.
This has to be done after release process of the core repo and releasing on npm
- Pull newest package inpackages/materialize (later pull version by tag)
- Update version string insrc/public/info,src/getting-started.html,partials/navbar.html
- Run docs locally and check manually with
pnpm dev&pnpm build - run
node release.jsto create new version - goto docs folder and run locally via
npx http-server -c-1 -p 8080and test in browser - Make PR into main
- Spread news via social media channels
About
Documentation of Materialize
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.