Skip to content

Commit

Permalink
add headers to index files and text stating stub
Browse files Browse the repository at this point in the history
  • Loading branch information
sjspielman committed Feb 29, 2024
1 parent d00c566 commit 4f4797b
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 8 deletions.
4 changes: 4 additions & 0 deletions docs/communications-tools/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Tools for communication

_This content is a stub._

This section will contain information about communications, including using Slack, GitHub Issues, and GitHub Discussions.
4 changes: 4 additions & 0 deletions docs/contributing-to-analyses/index.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Contributing to analyses

_This content is a stub._

This section will contain information about how to create or contribute to an analysis.
This will include all Git-specific instructions.
10 changes: 6 additions & 4 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ To serve the documentation during local development, run `mkdocs serve` from the

Documentation is written as a series of markdown files nested by topic in directories.

- All directories at the top-level inside `docs` will represent **navbar sections.**
- All directories at the top-level inside `docs` will represent navbar sections.
- Each top-level directory should contain an `index.md` file with an overall description of what that section contains.
- The `index.md` should have an L1 header with the same title as the navbar section.
- Nested directories within each navbar section represent a given overall topic.
- Markdown files in each directory represent documentation section.
- As needed, there can be additional nested directories here.
- Any visual aids using in your docs should be placed in the `img` directory, in the top-level inside `docs`.
- Markdown files in each directory represent sections shown along the left sidebar.
- We also expect additional nested directories within navbar directories.
- Nested directories should be used to add an additional bold header on the left sidebar.
- Any visual aids used in the docs should be placed in `docs/img`.

### Adding new documentation

Expand Down
2 changes: 0 additions & 2 deletions docs/landing/index.md

This file was deleted.

4 changes: 4 additions & 0 deletions docs/software-platforms/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Software platforms

_This content is a stub._

This section will contain documentation for using LSfR, AWS, and Docker.
4 changes: 4 additions & 0 deletions docs/technical-setup/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Technical setup

_This content is a stub._

This section will contain documentation for the technical aspects of setup, including forking/cloning and setting up your local environment.
4 changes: 4 additions & 0 deletions docs/troubleshooting-faq/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Getting Help and FAQ

_This content is a stub._

This section will contain troubleshooting scenarios and an FAQ page.
6 changes: 6 additions & 0 deletions docs/welcome/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Welcome to OpenScPCA

_This content is a stub._

This section will serve as the documentation landing page.
It will present an overview of the project, including its goals and information on ways to contribute.
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ theme:
name: material
features:
- content.code.copy # code copy button in code blocks
- search.suggest # displays in light gray how you might complete the word
- navigation.tabs # persistent navbar on the top
- navigation.tabs.sticky # sticky navbar
- navigation.sections # enables sections along the left side bar via nested directories in docs/
- navigation.indexes # do the thing we want
- search.suggest # displays in light gray how you might complete the word

plugins:
- search # search bar
Expand All @@ -30,7 +30,7 @@ plugins:
# Currently, we have templated out the follow navbar items (specific names TBD)
nav:
- Welcome to OpenScPCA: # welcome, familiarizing yourself with the project
- landing-page/index.md
- welcome/index.md
- Technical setup: # Fork/clone, local environment setup
- technical-setup/index.md
- Tools for communication: # Slack, issues, discussions
Expand Down

0 comments on commit 4f4797b

Please sign in to comment.