Skip to content

Commit adb2045

Browse files
committed
chore: Improved Documentation
1 parent 25a36d2 commit adb2045

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

documentation/WebsiteAngular/adding-pages.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ To create a new angular page follow these steps
66
Follow the tutorial in adding-components
77
2. Add the route for your page in ````projects/website-angular/src/app/app.routes.ts````
88
Your "route" is what makes your page show up at the correct address in the browser.
9-
3. Edit your page to your hearts content.
9+
3. Add your page to ````projects/website-angular/src/config/nav-options.json```` so it appears in the navigation menus.
10+
4. Edit your page to your hearts content.
1011
This step will require a bit more creativity and Angular experience. I can't be sure what kind of page you are creating so do your best to get the functionality your need with the power of the internet on your side. I believe in you!

documentation/tina-cms.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,9 @@ If you are uncomfortable with command line there are convenient tools like the [
9393
## Other Notes on TinaCMS
9494
- If you ever have to edit the collections or general setup of TinaCMS that can be done in ````projects/website-angular/tina/config.ts````
9595
- If you need to make a home / landing page for a collection (i.e *about/*, *content/*) just name the file ````index.mdx```` and place it in the correct folder
96-
- Additional Information about TinaCMS can be found [here](https://tina.io/)
96+
- Additional Information about TinaCMS can be found [here](https://tina.io/)
97+
98+
## Get Articles from Old Reactome
99+
If the old Joomla Site is still up and you want to quickly port all articles and pages into .md files please use the [ReactomeScraping Repository](https://github.com/reactome/ReactomeScraping). Once the scaping is done place the folders within ````mdx_pages```` into ````projects/website-angular/content```` and place the ````mdx_pages/uploads```` folder at ````projects/website-angular/public````. **Remember to rename the landing pages to index.mdx!!**
100+
101+
**WARNING**: Do not delete any new articles you've created in Tina while doing this.

0 commit comments

Comments
 (0)