VUEPRESS DOCUMENTATION MADE EASY Ben Hong @bencodezen
Slide 2
BEN HONG Senior Frontend Engineer @ Meltano in GitLab @bencodezen
Slide 3
Slide 4
VueDC https://www.vuedc.io
BEN HONG Senior Frontend Engineer @ Meltano in GitLab @bencodezen
VueMeetups https://www.vuemeetups.org
Slide 5
BEFORE WE GET STARTED… SLIDES WILL BE AVAILABLE ONLINE https://www.twitter.com/bencodezen
FOR THE SOCIAL MEDIA FOLKS @bencodezen - #VuePress #VueConfTO
Slide 6
Slide 7
(╯°□°)╯︵ ┻━┻)
Slide 8
Slide 9
Slide 10
Yeah. I’m gonna need you to document that in Confluence…
Slide 11
So tell me more about this VuePress thing…
Slide 12
Slide 13
Slide 14
VUEPRESS
Slide 15
“
VuePress is a static site generator with a Vue powered theming system that comes with a default theme optimized for technical documentation.
Slide 16
Slide 17
COOL MARKDOWN EXTENSIONS: YAML FRONT MATTER README.md http://localhost:8080/
--title: Write Docs Like a Pro lang: en-US ——Writing docs can be hard, but with VuePress it’s so much more fun!
Writing docs can be hard, but with VuePress it’s so much more fun!
Slide 18
COOL MARKDOWN EXTENSIONS: YAML FRONT MATTER README.md
——{ "title": "Write Docs Like a Pro", "lang": "en-US" } ——Writing docs can be hard, but with VuePress it’s so much more fun!
http://localhost:8080/
Writing docs can be hard, but with VuePress it’s so much more fun!
COOL MARKDOWN EXTENSIONS: CUSTOM CONTAINERS README.md http://localhost:8080/
::: tip This is a tip ::: ::: warning This is a warning ::: ::: danger This is a dangerous warning :::
Slide 26
README.md
::: tip This is a tip ::: ::: warning This is a warning ::: ::: danger This is a dangerous warning :::
Slide 27
http://localhost:8080/
Slide 28
COOL MARKDOWN EXTENSIONS: CUSTOM CONTAINERS README.md http://localhost:8080/
::: tip This is a tip ::: ::: warning This is a warning ::: ::: danger This is a dangerous warning :::
Slide 29
README.md
::: tip Bringing it all together! We can write normal text and even include other extensions in this! js{5} const list = [1, 2, 3] list.map(item => { // This is so cool console.log(item ** 2) }) :rocket: :rocket: :rocket: :::
Slide 30
http://localhost:8080/
Slide 31
VuePress Official Docs: https://vuepress.vuejs.org/
Slide 32
Slide 33
“
VuePress is a static site generator with a Vue powered theming system that comes with a default theme optimized for technical documentation.
Slide 34
“
VuePress is a static site generator with a Vue powered theming system that comes with a default theme optimized for technical documentation.
Slide 35
VUE MAGIC: INTERPOLATION README.md # VuePress in Toronto
http://localhost:8080/
{{ "Happy Friday!".toUpperCase() }}
VuePress in Toronto
:wave: :wave: :wave: :wave: :wave: :wave:
HAPPY FRIDAY!
So glad to be here at VueConf Toronto with over {{ 200 + 200 }} people!
👋👋👋👋👋👋
Things I need to try: 1. Tim Horton’s 1. Poutine 1. All the maple flavored things! :maple:
So glad to be here at VueConf Toronto with with over 400 people! Things I need to try: 1. Tim Horton’s 2. Poutine 3. All the maple flavored things! 🍁
Slide 36
README.md
VuePress in Toronto {{ "Happy Friday!".toUpperCase() }} :wave: :wave: :wave: :wave: :wave: :wave: So glad to be here at VueConf Toronto with over {{ 200 + 200 }} people! Things I need to try: 1. Tim Horton’s 1. Poutine 1. All the maple flavored things! :maple:
Slide 37
README.md
--city: Toronto --# VuePress in {{ $page.frontmatter.city }} {{ "Happy Friday!".toUpperCase() }} :wave: :wave: :wave: :wave: :wave: :wave: So glad to be here at VueConf {{ $page.frontmatter.city }} with over {{ 200 + 200 }} people! Things I need to try: 1. Tim Horton’s 1. Poutine 1. All the maple flavored things! :maple:
Slide 38
Slide 39
Slide 40
YOU CAN USE VUE COMPONENTS IN YOUR MARKDOWN
Slide 41
Slide 42
http://localhost:8080/
Slide 43
Slide 44
Slide 45
HOW DO I GET STARTED? VuePress Official Docs: https://vuepress.vuejs.org/