DASSL / ClassDB

An open-source system to let students experiment with relational data
https://dassl.github.io/ClassDB/
Other
7 stars 2 forks source link

Added doc pages #122

Closed wildtayne closed 7 years ago

wildtayne commented 7 years ago

Hello,

This branch adds the wiki markdown pages (sans 'List of Documentation Topics') in a 'docs' folder in the repo. All files should have their links fixed, and should work properly with both wiki and pages. I also removed the _config.yml from the root, since this file will get automatically recreated in the docs folder. I have tested these docs in one of my repos, and everything seems to work OK.

I performed the following procedure to create these docs:

The following changes need to be made to the repo settings for pages to server these docs (I think in this order):

  1. In the repo settings, set pages to server out of /docs in master (one of three options in the dropdown)
  2. In the same settings area, select a theme. This will create the _config.yml file in the docs folder, and theme all the md pages.
  3. Wait a few minutes - sometimes it takes a while for the pages to be generated.

I've found some documentation that claims we can edit the page layout generated by placing files in the docs folder to override the default files on Github's server. I'll try and play with this and see if I can get it to work.

I also haven't found a way to link issues to a release yet.

smurthys commented 7 years ago

Nice. I especially like the solution to getting the "home" page to work in both the wiki and the web site.

Changes to make:

We need to partition the wiki to docs for the system in development and other project-related notes (feature list, ideas, etc.). We can discuss that after the release is complete.

I will mail some questions/thoughts on the release itself.

index.txt

smurthys commented 7 years ago

I will change the GitHub Pages settings on the repo after these changes are merged. For now, I don't think we should put any effort into page layout unless we see something egregious.

smurthys commented 7 years ago

In the Documentation section of the file I attached, please change the first line to the following:

The documentation for the [latest release](https://github.com/DASSL/ClassDB/releases/latest) of ClassDB is on this site:
wildtayne commented 7 years ago

I've updated the doc pages based on your feedback, and updated the wiki to match. They should be duplicates of each other at the time of writing (sans 'List of Documentation Topics', of course).

smurthys commented 7 years ago

With these changes, the site can be published. However, I like us to think about meeting to achieving the following:

I have a feeling these are possible (in the worst case) by inserting html table elements before and after the h1 title.

smurthys commented 7 years ago

Just clarifying that links and authors should NOT be displayed on the home page: it is strictly for documentation pages.