diff --git a/front/docs/Chattypub.md b/front/docs/Chattypub.md index 2fb6f09..414acff 100644 --- a/front/docs/Chattypub.md +++ b/front/docs/Chattypub.md @@ -57,7 +57,7 @@ Every message you send to this topic should consist of a single emoji followed b } ``` -These messages should be unique and follow the CSS syntax, as described in the [introduction to CSS](#CSS). If you are comfortable with CSS, you can skip to the part of the document that describes [how CSS is used in ChattyPub](#css-in-chatty-pub). +These messages should be unique and follow the CSS syntax, as described in the [introduction to CSS](/docs/CSS). If you are comfortable with CSS, you can skip to the part of the document that describes [how CSS is used in ChattyPub](/docs/CSS#css-in-chattypub). To apply these styles to the contents of your publication, head back to any other topic in your stream, select a message you'd like to style, and react to it with the emoji whose styles you want to apply. On ChattyPub, the message should be rendered with these styles. diff --git a/front/docs/Workshop.md b/front/docs/Workshop.md index ef6669c..3ffc90e 100644 --- a/front/docs/Workshop.md +++ b/front/docs/Workshop.md @@ -34,7 +34,7 @@ Texts, notes, chats, images, and screenshots will make great material for our wo ## How It Works -For an overview of how ChattyPub works with Zulip, go [here](#Chattypub). +For an overview of how ChattyPub works with Zulip, go [here](/docs/Chattypub). ## Workshop The workshop is split over two sessions (over two days) of 4 hours each. @@ -48,8 +48,8 @@ _Opening Session: Introductions & first encounters with ChattyPub_ - How it all comes together (emojis ;])(Karl) - Experimenting with ChattyPub! ( 2 hrs ) - participants with different levels of experience of CSS are grouped together - - each group follows [these instructions](#content) to make one publication in ChattyPub - - detailed instructions about CSS can be found [here](#CSS) + - each group follows [these instructions](/docs/Chattypub#content) to make one publication in ChattyPub + - detailed instructions about CSS can be found [here](/docs/CSS) - Brainstorm Session (1 hr) - in groups of 2-3, participants brainstorm publications they will make during the main session - The goal is to document together, in print, parts of the summer academy. diff --git a/front/src/router/index.js b/front/src/router/index.js index 8bc15b0..29096f9 100644 --- a/front/src/router/index.js +++ b/front/src/router/index.js @@ -18,6 +18,12 @@ export default createRouter({ name: 'Docs', component: Docs, }, + { + path: '/docs/:slug', + name: 'Doc', + props: true, + component: Docs, + }, { path: '/:pathMatch(.*)*', name: 'Home', diff --git a/front/src/views/Docs.vue b/front/src/views/Docs.vue index 92b1fdc..ccd61d4 100644 --- a/front/src/views/Docs.vue +++ b/front/src/views/Docs.vue @@ -5,17 +5,22 @@ -
- +
+