Skip to content

Commit bfc4cc4

Browse files
authored
Update README.md
1 parent 7d029fe commit bfc4cc4

File tree

1 file changed

+41
-5
lines changed

1 file changed

+41
-5
lines changed

README.md

+41-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,42 @@
1-
# eclipse-volttron.github.io
1+
## getting started
2+
Prerequisites:
3+
install windows terminal (I use ubuntu)
4+
install Git, command: $sudo apt install git-all
25

3-
## final stage cleanup
4-
- [ ] clean up tags section in office hours
5-
- [ ] check every single pfp
6-
- [ ] final merge and check
6+
installing hugo:
7+
install hugo, command: $sudo apt install hugo
8+
link for more info https://gohugo.io/installation/linux/#snap
9+
10+
using hugo:
11+
enter the folder with the website
12+
run the command $hugo serve
13+
a link should appear to open the local web link
14+
15+
## making changes
16+
Sidebar edits:
17+
- Sidebars are found under the /layouts/partials/sidebars/ and are written in html
18+
- markdown files have a sidebar_left and sidebar_right options where the sidebars are rendered
19+
Markdown additions and edits:
20+
- all markdown files are found under /content/
21+
- to add a new markdown file to the main bar, add this to the top
22+
"---
23+
menu: main
24+
title: "New Name"
25+
description: "add a description for the gray text above the image"
26+
image: "image path"
27+
---"
28+
Adding to submenu:
29+
1. to add a new markdown file to the archives, add the markdown file to /content/archives/
30+
2. set the menu to archives (menu:archives)
31+
3. go to /config/_default/menus.toml/ and add
32+
"[[main]]
33+
parent = "ARCHIVES"
34+
name = "NEW FILE NAME"
35+
url = "/archives/NEW FILE NAME/"
36+
weight = above name weight + 1"
37+
Adding new image:
38+
- add image to /static/images/
39+
- use images/image_name.png as the path in markdown
40+
*Note: images being added in html '{{absURL "images/DocumentImages/overviewOverlay.png"}}' or it will not render in github pages*
41+
CSS Edits:
42+
- do NOT use the CSS in the theme, go to /assets/sass/custom.scss to make changes.

0 commit comments

Comments
 (0)