-
Notifications
You must be signed in to change notification settings - Fork 2
Repository contents
Nathan Carter edited this page Jun 12, 2023
·
2 revisions
What's in the source code repository? Here's a quick tour of the contents of the main folder:
- π A file or folder you may safely edit
- β A file or folder you never (or almost never) need to edit
- β
.devcontainer
folder: contains configuration files for the development container, for those who choose to use it - β
.vscode
folder: contains configuration files for automating the building of the website using VS Code tasks - π
database
folder: where all user submitted content lives- β
static
folder: simple pages and templates that are used to construct the bones of the site - π
tasks
folder: where almost everything in the database lives, including all "How to..." folders, with their descriptions and all solutions inside. When you rebuild the site, content from here generates content in thedocs
folder described below. - π
topics
folder: one markdown file for each topic, defining how that topic appears on the site, including links to all of its tasks - β
database.yml
file: a configuration file documented in the README file in the same folder (almost never needs to change)
- β
- β
docs
folder: where the website goes after it's been built. (If you were to edit any file in here, your changes would be overridden the next time anyone rebuilds the site! So don't do that.) - β
jekyll-input
folder: an intermediate step in the website's build process, which includes assets such as.js
and.css
files
- Many
.py
files in the main folder contain the code that builds the website and runs the control panel. - A few
.sh
files in the main folder contain scripts that correspond to the VS Code tasks mentioned above. - The
CNAME
file is necessary for managing the how-to-data.org domain name. - The
Gemfile
andGemfile.lock
files list the Ruby libraries needed by our website building tool, Jekyll. - Various files that start with
pandoc
are configuration files customize document conversions (e.g., PDF generation).