Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: tidy up the readme, add toc. #1141

Merged
merged 9 commits into from
Sep 3, 2020
Merged

docs: tidy up the readme, add toc. #1141

merged 9 commits into from
Sep 3, 2020

Conversation

olizilla
Copy link
Collaborator

@olizilla olizilla commented Sep 2, 2020

  • Put the focus on things content authors are going to need most. Every one will edit content, links, images. Some will add new pages. Few will link in new external modules.
  • Add a ToC
  • fix code fencing around code-fencing

This is best reviewed by looking at the entire rendered file at https://github.com/filecoin-project/specs/blob/68b9416b2d628639eabec6c5e5778345c9fb0a9f/README.md

License: MIT
Signed-off-by: Oli Evans oli@tableflip.io

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
olizilla and others added 5 commits September 3, 2020 11:06
Co-authored-by: Hugo Dias <hugomrdias@gmail.com>
Co-authored-by: Hugo Dias <hugomrdias@gmail.com>
Co-authored-by: Hugo Dias <hugomrdias@gmail.com>
Co-authored-by: Hugo Dias <hugomrdias@gmail.com>
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
hugomrdias
hugomrdias previously approved these changes Sep 3, 2020
License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
@olizilla olizilla merged commit 62a0f27 into master Sep 3, 2020
@olizilla olizilla deleted the readme-refactor branch September 3, 2020 13:45
Copy link
Collaborator

@yiannisbot yiannisbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! I added a few comments to clarify a little more a couple of things.

- `path`: Repository's URL without protocol.
- `source`: Folder from the repository referenced in the `path` to be mounted into the local Hugo filesystem.
- `target`: Folder where `source` will be mounted locally, this should follow this structure `content/modules/<target value>`.
The markdown documents should all be well formed, with a single h1, and headings should increment by a single level.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The markdown documents should all be well formed, with a single h1, and headings should increment by a single level.
The markdown documents should all be well formed, with **only a single h1**, and headings should increment by a single level.

Do we want to highlight that there should be only one h1 heading?


Error: failed to download modules: go command failed ...

**Solution** - run `npm run clean` - the cache dir hugo uses can get corrupted, and this resets it. See [#1048](https://github.com/filecoin-project/specs/issues/1048)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put the front matter properties, common problems and how to link to external modules above math mode and diagrams, as less people will want to add math and diagrams than actually edit the front matter.

title: Important thing
weight: 1
dashboardState: wip
dashboardAudit: missing
---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should mention how the frontmatter links to dashboard entries and that when adding a new subsection in a new file (as opposed to a subsection within the _index file) there's a new dashboard entry created. Therefore, adding new files should be done only when necessary, i.e., when a subsubsection is important and should appear in the dashboard.

hugomrdias added a commit that referenced this pull request Sep 7, 2020
* master: (27 commits)
  fix(content): filecoin VM interface update (#1056)
  fix(content): chainsync section update (#1123)
  fix(content): libraries section update (#1115)
  fix: show hugo errors on build
  docs: tidy up the readme, add toc. (#1141)
  fix: reword stacked drg missing link text"
  fix: fix broken refs and change warns to errors (#1139)
  fix: import meter css (#1140)
  feat: build toc and dashboard in hugo (#1122)
  feat: show wip and reliable in progress bar (#1137)
  content: fix typo plus remove definition of weight (#1138)
  fix: css for label style and dashboard link (#1136)
  feat: add symbol embeds and listing (#1126)
  v1.0.1
  feat(tooling): release scripts
  v1.0.0
  chore: update readme and package.json
  fix: update dns link
  fix: fix broken links
  fix(content): FIL VM System Actors Update (#1061)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants