From 53ad0128569fe0664e151fa5d4ada0a8871a2079 Mon Sep 17 00:00:00 2001 From: cosmopool Date: Tue, 2 Apr 2019 06:13:52 +0000 Subject: [PATCH] move files to subdirectories; adapt mkdocs.yml accordingly and for mkdocs 1.0 --- README | 4 +++ docs/{ => about}/contact.md | 0 docs/{ => about}/faq.md | 2 +- docs/{about.md => about/index.md} | 0 docs/{ => community}/communities.md | 0 docs/{ => community}/tools.md | 0 docs/{ => community}/webresources.md | 0 docs/sharing.md | 8 ------ docs/{ => sharing}/concept.md | 0 docs/{ => sharing}/examples.md | 0 docs/{ => sharing}/pool.md | 2 +- docs/{software.md => software/index.md} | 2 +- mkdocs.yml | 38 +++++++++++++------------ 13 files changed, 27 insertions(+), 29 deletions(-) create mode 100644 README rename docs/{ => about}/contact.md (100%) rename docs/{ => about}/faq.md (95%) rename docs/{about.md => about/index.md} (100%) rename docs/{ => community}/communities.md (100%) rename docs/{ => community}/tools.md (100%) rename docs/{ => community}/webresources.md (100%) delete mode 100644 docs/sharing.md rename docs/{ => sharing}/concept.md (100%) rename docs/{ => sharing}/examples.md (100%) rename docs/{ => sharing}/pool.md (94%) rename docs/{software.md => software/index.md} (92%) diff --git a/README b/README new file mode 100644 index 0000000..0a515b1 --- /dev/null +++ b/README @@ -0,0 +1,4 @@ +su - cosmopool +cd /srv/apache2/www.cosmopool.org/website_dev/ +nano docs/..../....md +mkdocs build; rm -r ../website; cp -a site ../website diff --git a/docs/contact.md b/docs/about/contact.md similarity index 100% rename from docs/contact.md rename to docs/about/contact.md diff --git a/docs/faq.md b/docs/about/faq.md similarity index 95% rename from docs/faq.md rename to docs/about/faq.md index a2c22f8..5f63ee3 100644 --- a/docs/faq.md +++ b/docs/about/faq.md @@ -17,7 +17,7 @@ Can I use the software on my mobile? What can I do while the software is not available? Are there alternatives? -> Try some of these [tools](webresources.md). +> Try some of these [tools](../community/webresources.md). I have seen a screenshot of the cosmopool software. Why is it so complicated? diff --git a/docs/about.md b/docs/about/index.md similarity index 100% rename from docs/about.md rename to docs/about/index.md diff --git a/docs/communities.md b/docs/community/communities.md similarity index 100% rename from docs/communities.md rename to docs/community/communities.md diff --git a/docs/tools.md b/docs/community/tools.md similarity index 100% rename from docs/tools.md rename to docs/community/tools.md diff --git a/docs/webresources.md b/docs/community/webresources.md similarity index 100% rename from docs/webresources.md rename to docs/community/webresources.md diff --git a/docs/sharing.md b/docs/sharing.md deleted file mode 100644 index e5cd4fd..0000000 --- a/docs/sharing.md +++ /dev/null @@ -1,8 +0,0 @@ -# Sharing - -## The [concept](concept.md) - -## Some [examples](examples.md) for sharing - -## A sketch of [pool economy](pool.md) - diff --git a/docs/concept.md b/docs/sharing/concept.md similarity index 100% rename from docs/concept.md rename to docs/sharing/concept.md diff --git a/docs/examples.md b/docs/sharing/examples.md similarity index 100% rename from docs/examples.md rename to docs/sharing/examples.md diff --git a/docs/pool.md b/docs/sharing/pool.md similarity index 94% rename from docs/pool.md rename to docs/sharing/pool.md index 82e3744..7e1ff9b 100644 --- a/docs/pool.md +++ b/docs/sharing/pool.md @@ -44,5 +44,5 @@ Communities will quickly dissolve to the least common denominator of market capi ---- -For details on how all this might look like see [software](software.md) and more [tools](communities.md). +For details on how all this might look like see [software](../software/index.md) and more [tools](../community/communities.md). diff --git a/docs/software.md b/docs/software/index.md similarity index 92% rename from docs/software.md rename to docs/software/index.md index a656a82..a97b5cd 100644 --- a/docs/software.md +++ b/docs/software/index.md @@ -16,5 +16,5 @@ The first production release will only support a single server and will come wit In the meanwhile, if you need to organized your knowledge without sharing it, you can try [webProtege](http://wp-obs.stanford.edu/). -The main motivation behind sharing of knowledge is to create an economy of sharing, a [pool economy](pool.md); thus the focus on serial knowledge. +The main motivation behind sharing of knowledge is to create an economy of sharing, a [pool economy](../sharing/pool.md); thus the focus on serial knowledge. diff --git a/mkdocs.yml b/mkdocs.yml index 5292711..225e0b7 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,19 +1,21 @@ site_name: cosmopool - True sharing is moneyless -theme: readthedocs -pages: -- Home: index.md -- Sharing: - - Concept: concept.md - - Examples: examples.md - - Pool economy: pool.md -- Software: software.md -- Community: - - Communities: communities.md - - Tools: tools.md - - Links: webresources.md -- About: - - About: about.md - - FAQ: faq.md - - Contact: contact.md -markdown_extensions: -- inline_graphviz +#theme: readthedocs +theme: mkdocs +use_directory_urls: true +nav: + - Home: index.md + - Sharing: + - Concept: sharing/concept.md + - Examples: sharing/examples.md + - Pool economy: sharing/pool.md + - Software: software/index.md + - Community: + - Communities: community/communities.md + - Tools: community/tools.md + - Links: community/webresources.md + - About: + - 'About': 'about/index.md' + - 'FAQ': 'about/faq.md' + - 'Contact': 'about/contact.md' +#markdown_extensions: +# - inline_graphviz