# README: Overview Documentation Repository
## How the Documentation is Organized
Directories that contain information used to build content.
Directory |
Purpose |
Technical Repo(s) |
_android |
SDK tutorial. Part of the developer menu. |
https://github.com/blockstack/blockstack-android |
_browser |
Information for end-users about our identity, Storage, and using the browser. There are also three of the original tutorials in there. User docs controlled by in the the user menu. The three tutorials that appear in the developer menu There is an outstanding issue to move these. |
https://github.com/blockstack/blockstack-browser |
_common |
Contains several shell files that redirect to our reference documentation sites such as Javascript, IOS, and so forth. The reference docs are linked from the developer, core, and Gaia menus. |
Each of these references are generated by their respective repos, core.blockstack.org from blockstack-core , Javascript docs from the blockstack.js and so forth. |
_core |
Information for wallet, blockchain, or Clarity developers -- including Atlas, BNS, and so forth. This content STILL needs to be synced with the master docs subdirectory in blockstack-core. |
blockstack-core |
_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 on https://github.com/blockstack/blockstack.js. |
_faqs |
Contains files for single-sourcing all the FAQs. The Blockstack docs has a single page that lists all the faqs; then several pages in different sections re-use this information. See the FAQs section below for detail about how these files figure into FAQS. |
Not related to repo. |
_includes |
Information reused (markdown or html) in many places, common html used in pages and notes. |
These files don't correspond to a repository. |
_ios |
SDK tutorial. Part of the developer menu. |
https://github.com/blockstack/blockstack-ios |
_org |
Information for Stacks holders and people curious about what Blockstack does. Appear in the the organization menu |
Not associated with any repository. |
_storage |
Information for developers using storage in their apps or creating Gaia servers. Appear in the the storage menu |
https://github.com/blockstack/blockstack-gaia |
File |
Contains |
Purpose |
_faqs/allfaqs.json |
Liquid to generate JSON from theFAQS.json |
Serves up the FAQs that are consumed by the blockstack.org and stacks.com sites. |
_develop/faq-data.json |
Liquid 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.md |
Liquid and headings. |
Reads the _data/theFAQs.json and produces a Markdown file for display in our site. |
_data/theFAQs.json |
JSON for the FAQS. |
Source file for all the FAQs. |
_data/appFAQ.json |
JSON for the app mining FAQs. |
Source file for the application mining FAQs. |
_develop/appMiningFAQ.md |
Liquid 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
* [UIKit](https://getuikit.com/docs/grid)
* [Liquid templates](https://shopify.github.io/liquid/)