wiki: fix wiki lint errors#1801
Conversation
| ```text | ||
| $ git remote add wiki https://github.com/your-username/dcrdex.wiki.git | ||
| $ git push wiki -d master | ||
| $ git subtree push --prefix docs/wiki wiki master |
There was a problem hiding this comment.
There's actually a markdownlint rule we've ignored that says not to use $ without showing output. While I don't think we need to show output to be permitted to use $ (hence rule ignored), I also don't think we need the $ in every case unless it is really needed to underscore that the commands are typed and it's obvious and explicit here. Or if the $ breaks the syntax highlighting, not sure if it does. Also this can be sh instead of text - these are shell commands even if there's nothing special about them.
| The JavaScript strings involved editing [client/webserver/site/src/js/locales.js](https://github.com/decred/dcrdex/blob/master/client/webserver/site/src/js/locales.js) with a new `export const zhCN` object, with strings corresponding to the English text in the `enUS` object at the top of the same file. Finally, the new object is listed in the `const localesMap` at the end of the file. | ||
|
|
||
| When testing, remember to rebuild the site assets bundle with `npm ci && npm run build` in the **client/webserver/site** folder. No newline at end of file | ||
| When testing, remember to rebuild the site assets bundle with `npm ci && npm run build` in the **client/webserver/site** folder. |
There was a problem hiding this comment.
Thank you for re-adding newlines at the end of the files. This is important for all text files, not just markdown. https://unix.stackexchange.com/questions/18743/whats-the-point-in-adding-a-new-line-to-the-end-of-a-file
decred/dcrd#2941
In general, we should do it for all docs and code decred/dcrd#2941
dd57ae1 to
1b49f04
Compare
1b49f04 to
a9602fb
Compare
This is a follow-up PR addressing the discussion here and typos. The wiki is formatted based on the rules add by #1796.