Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: uick

General Training

Here's a quick video about SpecUp that should help getting started.


Tips/Tricks/How-Tos


Do NOT Modify spec.json this way...

...

Be sure that the "source" parameter is left as pointing at the main repository. As a CONSEQUENCE, this will mean means that your forked repository will not likely render properly to in your personal github.io space.

...

Code Block
"source": {
  "host": "github",
  "account": "trustoverip",
  "repo": "tswg-trust-registry-protocol"
},


Adding

...

Images & Other Files

  • Put the images into the ./specdocs folder where your main content (or in a sub-folder like ./specdocs/images )
  • Reference these using regular image markdown:
    Code Block
    ![alternate text/title](./images/highlevel.png)

Image Added NOTE: if you don't use this approach your local preview may show images that DO NOT show when fully deployed in the main repository.


As an example, the Trust Registry Protocol publishes several inline items:

  • Rendered API browser using Redocs in the ./docs/api folder
  • Images from PlantUML diagrams in the ./docs/images/puml  folder 

These are created in the ./docs folder of the repository and are auto-published via SpecUp and can be linked. 

See here for that example: https://github.com/trustoverip/tswg-trust-registry-protocol/tree/main/docs

Previewing/Rendering Locally

...

will render out as (h/t: Eric Scouten )

Specification References - That Are Not Auto-Generated

SpecUp has a limited library of specification references that can be used "automagically" like [[spec-norm:RFC3119]] will render out automatically when the [[spec-norm]] tag is used.

The [[def:...]]  and [[ref:...] capabilities can be used in the interim. Example: 

Code Block
# Some Section

EdDSA [[ref:Ed25519]]is a great!

# References

[[def:Ed25519]]
~ [Ed25519](https://ed25519.cr.yp.to/). D. J. Bernstein, N. Duif, T. Lange, P. Schwabe, B.-Y. Yang; 26 September 2011.
[ed25519.cr.yp.to](https://ed25519.cr.yp.to/).

[[spec-norm]]



OTHER???