-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78384c2
commit 60718a1
Showing
34 changed files
with
458 additions
and
4,555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
+++ | ||
author = "Wisdom" | ||
title = "Introduction to doc as code" | ||
date = "2022-11-02" | ||
description = "Technical writing mentorship program talking about doc as code" | ||
+++ | ||
|
||
Writing, revising, and publishing procedures can be made more efficient using the documentation technique and practice known as "docs as code." | ||
|
||
Docs as Code, as the name suggests, handles all documentation like a codebase. Docs as Code recommends writing in a plaintext markup language like Markdown, pushing that documentation through an automated pipeline that tests the quality of the writing, and ultimately building and publishing the documentation to the public. | ||
|
||
The actual documents are managed using some version control like Git. | ||
|
||
## Docs-as-code features | ||
|
||
- Writing format | ||
- Static site generator | ||
- Version control system | ||
- Continuous integration | ||
- Collaborating with other writers using version control | ||
- Running validation checks | ||
|
||
## The advantages of using a docs-as-code approach? | ||
|
||
- **Developer doc contribution:** It's easier for developers to contribute to the docs themselves. | ||
|
||
- **Collaboration:** Using the same tools and procedures facilitates collaboration between authors, developers, and users. | ||
|
||
## How to set up docs as code | ||
In this example, you will use docusaurus to create your documentation site. | ||
|
||
### Prerequisite | ||
|
||
- Install Vscode | ||
- Install Nodejs | ||
|
||
### Install docusaurus | ||
|
||
The easiest way to install Docusaurus is to use the command line tool that helps you scaffold a skeleton Docusaurus website. | ||
```js | ||
npx create-docusaurus@latest my-website classic | ||
``` | ||
|
||
### Running the development server | ||
To preview your changes as you edit the files, you can run a local development server that will serve your website and reflect the latest changes. | ||
|
||
### Change folder | ||
|
||
```js | ||
cd my-website | ||
``` | ||
|
||
### Run the preview mode with the command below. | ||
|
||
```js | ||
npm run start | ||
``` | ||
|
||
### Build | ||
Docusaurus is a modern static website generator, so we need to build the website into a directory of static contents and put it on a web server to view it. To build the website: | ||
|
||
```js | ||
npm run build | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
+++ | ||
author = "Clarissa" | ||
title = "Subject Matter Expert" | ||
date = "2022-10-14" | ||
description = "Technical writing mentorship program fifth meetup" | ||
+++ | ||
|
||
{{< youtube F2lFRFBJRAY >}} | ||
|
||
## Discussion | ||
|
||
- How I got into technical writing | ||
- Who are subject matter experts | ||
- Why do they matter | ||
- Subject matter experts as a best practice in technical writing | ||
- Tell a story | ||
|
||
## My journey into technical writing | ||
- Loved writing as a child | ||
- Traditional copywriter | ||
- Followed my curiosity with technology | ||
- Specialization | ||
- Web3 needs strong communicators for adoption | ||
|
||
## Who qualifies as a subject matter expert | ||
|
||
- People with first-hand experience | ||
- People building the technology you’re writing about: engineers, founders, developers, CTOs | ||
- Academics: people versed in theory and history | ||
- End-users: people using the technology you’re writing about | ||
|
||
## Why do they matter | ||
- Misinformation and fake news | ||
- Clickbait | ||
- Vaporware | ||
- Scams | ||
|
||
## Best practise | ||
- Show don’t tell | ||
- Direct quotes | ||
- Paraphrase, cite, attribute | ||
- Establish rapport and trust | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.