mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-29 12:50:59 +00:00
doc: update doc/README.md and genwiki
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# Puter Documentation
|
||||
|
||||
Hi, you've found Puter's wiki page on GitHub! If you were looking for
|
||||
something else, you might find it in the links below.
|
||||
All of the wiki docs are generated from `doc/` directories in the main
|
||||
repository, so it's best to edit docs there rather than here.
|
||||
|
||||
## Users
|
||||
|
||||
If you have general questions about using [Puter](https://puter.com),
|
||||
|
||||
@@ -29,6 +29,9 @@ const ROOT_DIR = path_.join(__dirname, '../..');
|
||||
const WIKI_DIR = path_.join(__dirname, '../../submodules/wiki');
|
||||
|
||||
const path_to_name = path => {
|
||||
// Special case for Home.md
|
||||
if ( path === 'doc/README.md' ) return 'Home';
|
||||
|
||||
// Remove src/ and doc/ components
|
||||
// path = path.replace(/src\//g, '')
|
||||
path = path.replace(/doc\//g, '')
|
||||
|
||||
Reference in New Issue
Block a user