From 926cf22a91bfc80fd8824778c8f5f1f1e7322b45 Mon Sep 17 00:00:00 2001 From: Mary Anthony Date: Wed, 22 Jan 2020 10:33:43 -0800 Subject: [PATCH] wip Signed-off-by: Mary Anthony --- README.md | 71 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 62 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3658a25a..6022faa7 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## How the Documentation is Organized -Directories that contain only content +Directories that contain information used to build content. @@ -34,7 +34,12 @@ Directories that contain only content - + + + + + + @@ -48,11 +53,11 @@ Directories that contain only content - + - +
_develop Information for application miners covers using the Javascript library, our mobile SDKs, and the concepts hat support them. Navigation controlled by developer menu This information was never associated with a single repo. Much of it does rely heavily onhttps://github.com/blockstack/blockstack.js.This information was never associated with a single repo. Much of it does rely heavily on https://github.com/blockstack/blockstack.js.
_faqsContains a JSON source file for all the FAQs. The JSON in this directory
_includes
_orgInformation for Stacks holders and people curious about what Blockstack does. User docs controlled by in the the organization menuInformation for Stacks holders and people curious about what Blockstack does. Appear in the the organization menu Not associated with any repository.
_storageInformation for developers using storage in their apps or creating Gaia servers. Appear in the the storage menu https://github.com/blockstack/blockstack-gaia
@@ -73,11 +78,7 @@ Directories that contain only content - - _faqs - - - + _includes @@ -247,6 +248,58 @@ You can view [the source code](https://github.com/blockstack/blockstack-core/blo generate_address to generate a random Stacks public address for testing purposes. ``` +## Understand how the shared FAQs work + +The FAQ system servers single-sourced content that support the FAQs that appear in blockstack.org, app.co, and stacks.com site. JSON files are created by the Jekyll build and served through the documentation site. Single sourcing the content ensures that FAQs are the same regardless of which property they appear in. These files participate in the FAQ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
File ContainsPurpose
_faqs/allfaqs.jsonLiquid to generate JSON from theFAQS.jsonServes up the FAQs that are consumed by the blockstack.org and stacks.com sites.
_develop/faq-data.jsonLiquid to generate JSON from appFAQ.json.Serves up the FAQs that are consumed by the app.co site.

NOTE: App.co was never changed to pull from the same file as blockstack.org.
_faqs/allFAQs.mdLiquid and headings.Reads the _data/theFAQs.json and produces a Markdown file for display in our site.
_data/theFAQs.jsonJSON for the FAQS.Source file for all the FAQs.
_data/appFAQ.jsonJSON for the app mining FAQs.Source file for the application mining FAQs.
_develop/appMiningFAQ.mdLiquid to extract the app mining FAQs from the allFAQs.json file.Display just the app mining FAQs in the docs.
+ +FAQs are usually written internally by a team that are unfamiliar with markdown or HTML used in websites. So, FAQs are produced using this process: + +1. Draft new or revised FAQs in a Google or Paper document. +2. Review the drafts and approve them. +3. Convert the FAQ document to HTML. +4. Strip out the unnecessary codes such as `id` or `class` designations. + This leaves behind plain html. +5. Add the new FAQs to the `_data/theFAQS.json` file. + Currently this is manually done through cut and paste. +6. Copy the JSON for `appminers` categories to the `_data/appFAQ.json` file # Technology Reference