Skip to content

Commit e08389a

Browse files
committed
changed "publish" method from EventBus to be more adaptive with threading conflicts.
1 parent 733a926 commit e08389a

9 files changed

Lines changed: 2432 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
venv
22
dist
3-
.pytest_cache
3+
.pytest_cache
4+
docs/node_modules
5+
docs/docs/.vuepress

docs/docs/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
home: true
3+
title: Windmill Docs - Homepage
4+
heroImage: https://vuejs.press/images/hero.png
5+
actions:
6+
- text: Get Started
7+
link: /get-started.html
8+
type: primary
9+
10+
- text: Introduction
11+
link: https://vuejs.press/guide/introduction.html
12+
type: secondary
13+
14+
features:
15+
- title: Simplicity First
16+
details: Minimal setup with markdown-centered project structure helps you focus on writing.
17+
- title: Vue-Powered
18+
details: Enjoy the dev experience of Vue, use Vue components in markdown, and develop custom themes with Vue.
19+
- title: Performant
20+
details: VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.
21+
- title: Themes
22+
details: Providing a default theme out of the box. You can also choose a community theme or create your own one.
23+
- title: Plugins
24+
details: Flexible plugin API, allowing plugins to provide lots of plug-and-play features for your site.
25+
- title: Bundlers
26+
details: Default bundler is Vite, while Webpack is also supported. Choose the one you like!
27+
28+
footer: MIT Licensed | Copyright © 2018-present VuePress Community
29+
---
30+
31+
This is the content of home page. Check [Home Page Docs][default-theme-home] for more details.
32+
33+
[default-theme-home]: https://vuejs.press/reference/default-theme/frontmatter.html#home-page

docs/docs/get-started.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Get Started
2+
3+
This is a normal page, which contains VuePress basics.
4+
5+
## Pages
6+
7+
You can add markdown files in your vuepress directory, every markdown file will be converted to a page in your site.
8+
9+
See [routing][] for more details.
10+
11+
## Content
12+
13+
Every markdown file [will be rendered to HTML, then converted to a Vue SFC][content].
14+
15+
VuePress support basic markdown syntax and [some extensions][synatex-extensions], you can also [use Vue features][vue-feature] in it.
16+
17+
## Configuration
18+
19+
VuePress use a `.vuepress/config.js`(or .ts) file as [site configuration][config], you can use it to config your site.
20+
21+
For [client side configuration][client-config], you can create `.vuepress/client.js`(or .ts).
22+
23+
Meanwhile, you can also add configuration per page with [frontmatter][].
24+
25+
## Layouts and customization
26+
27+
Here are common configuration controlling layout of `@vuepress/theme-default`:
28+
29+
- [navbar][]
30+
- [sidebar][]
31+
32+
Check [default theme docs][default-theme] for full reference.
33+
34+
You can [add extra style][style] with `.vuepress/styles/index.scss` file.
35+
36+
[routing]: https://vuejs.press/guide/page.html#routing
37+
[content]: https://vuejs.press/guide/page.html#content
38+
[synatex-extensions]: https://vuejs.press/guide/markdown.html#syntax-extensions
39+
[vue-feature]: https://vuejs.press/guide/markdown.html#using-vue-in-markdown
40+
[config]: https://vuejs.press/guide/configuration.html#client-config-file
41+
[client-config]: https://vuejs.press/guide/configuration.html#client-config-file
42+
[frontmatter]: https://vuejs.press/guide/page.html#frontmatter
43+
[navbar]: https://vuejs.press/reference/default-theme/config.html#navbar
44+
[sidebar]: https://vuejs.press/reference/default-theme/config.html#sidebar
45+
[default-theme]: https://vuejs.press/reference/default-theme/
46+
[style]: https://vuejs.press/reference/default-theme/styles.html#style-file

docs/package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "windmill-docs",
3+
"description": "Documentation for Windmill Library",
4+
"version": "0.0.1",
5+
"license": "MIT",
6+
"type": "module",
7+
"scripts": {
8+
"docs:build": "vuepress build docs",
9+
"docs:clean-dev": "vuepress dev docs --clean-cache",
10+
"docs:dev": "vuepress dev docs",
11+
"docs:update-package": "yarn dlx vp-update"
12+
},
13+
"devDependencies": {
14+
"@vuepress/bundler-vite": "2.0.0-rc.20",
15+
"@vuepress/theme-default": "2.0.0-rc.88",
16+
"sass-embedded": "^1.86.0",
17+
"vue": "^3.5.13",
18+
"vuepress": "2.0.0-rc.20"
19+
}
20+
}

0 commit comments

Comments
 (0)