blockchainbird / spec-up-t

Create technical specifications in markdown. Based on the original Spec-Up, extended with Terminology tooling
https://blockchainbird.github.io/spec-up-t-website/
Apache License 2.0
0 stars 0 forks source link

Q-and-A #1

Closed henkvancann closed 1 month ago

henkvancann commented 2 months ago

Use a comment-thread per answer and link to the top of the answer. Example see: question 10.

  1. When I use Spec-Up-T do I get all the updates of Spec-Up too?
  2. Can't we wait with the split up until because it might mess up thing for people curating the documents?
  3. I don't want Spec-Up-T, I want the original Spec-Up, but then with their improvements to be able to xref, and keep track of history etc. Is this possible?
  4. Where to find Spec-Up-T?
  5. Why do I need to put commands on the command line?
  6. npx Spec-Up-T --help gives all commands I can give?
  7. Spec-Up was simple, Spec-Up-T looks complicated, why?
  8. For who is Spec-Up-T?
  9. Do you have a how-to video to get started with Spec-Up-T?
  10. Where can I find the motivation of this move to create the Spec-Up bolt on "Spec-Up-T"?
  11. Why doesn't the Spec-Up-T repo generate a github.io-served specification itself?
  12. We already have a Docusaurus (or Jekyll, etc) site. Is it possible to have a Spec-Up-T specification inside this site?
henkvancann commented 2 months ago

Answer to 10. Where can I find the motivation of this move to create the Spec-Up bolt on "Spec-Up-T"?

-> Our enhancement proposal and git governance strategy is here: https://hackmd.io/s1TEBBluQBSL10ZT5yRVPw

henkvancann commented 2 months ago

Answer to 2. Can't we wait with the spilt up until because it might mess up thing for people curating the documents?

-> Splitting Spec-Up content over files is not an issue for people working on the content and looking at the github.io pages of the specification. It won't affect them. They see the same generated one-page document as a result. The index.html only has enhanced features. They can offer PRs as they always could.

henkvancann commented 2 months ago

Answer to 9. Do you have a how-to video to get started with Spec-Up-T?

-> Instruction starter package

henkvancann commented 2 months ago

Answer to 1. When I use Spec-Up-T do I get all the updates of Spec-Up too?

-> Yes. The administrator team behind Spec-Up-T will keep Spec-Up of DIF as a strict subset of code and features.

henkvancann commented 2 months ago

Answer to 3. I don't want Spec-Up-T, I want the original Spec-Up, but then with their improvements to be able to xref, and keep track of history etc. Is this possible?

-> Some improvements have been incorporated into Spec-Up. Spec-Up will remain a subset of Spec-Up-T. The extensions you will find only in Spec-Up-T are listed in the Readme.md.

henkvancann commented 2 months ago

Answer 4. to Where to find Spec-Up-T?

  1. all about the repo, who has the user rights, what you should do when you wish to fork the repo
  2. also about the project at ToIP, the git governance agreements and how the dependency from Spec-Up works out (the DIF repo is a strict subset of Spec-Up-T).
  1. Open your terminal and go to the target directory

  2. Run npx create-spec-up-starterpack@latest This will create a working Spec-Up-T installation in a new directory called spec-up-t-starter-pack.

  3. Now run npx spec-up-t --help and the available commands will be listed.

henkvancann commented 2 months ago

Answer 6. npx Spec-Up-T --help gives all commands I can give?

-> Yes, in brief. The documentation of Spec-Up-T is available in its Docusaurus site

henkvancann commented 2 months ago

Answer to 8. For who is Spec-Up-T?

-> The repo, command-line tools and the Docusaurus User guide is for Authors, Curators and Administrators of repo's that use Spec-Up-T to run there specification effort in text, images, terms & definitions, etc.

The resulting github.io site is intended for any user interested in the content of the specification.

henkvancann commented 2 months ago

Answer to 7. Spec-Up was simple, Spec-Up-T looks complicated, why?

-> Spec-Up is a subset of Spec-Up-T. The expansion "T" complicates the handling of term definitions, - references and external references (xrefs) of term in other repo's glossaries. ToIP added functionality as well: diff tooling, search bar, and navigation aids. On the other hand, Spec-Up-T is installable via just a single command npx create-spec-up-t-starterpack@latest

henkvancann commented 2 months ago

Answer to 5. Why do I need to put commands on the command line?

-> Brief answer: because Spec-Up-T is based on NPM packaging and version control.

To understand why more thoroughly: Spec-Up-T is team-work tooling based on NPM, git versioning and (automated) github deployment. Therefore participants incept and maintain local version of specifications on their computer, manage updates to and fro github.com and generate local test and finally production sites (github actions -> github.io site). With this type of creation and collegial management of versions and updates come commands on the command line.

henkvancann commented 2 months ago

Answer to 11. Why doesn't the Spec-Up-T repo generate a github.io-served specification itself?

-> The repo Spec-Up-T doesn't generate an example specification on github.io. because it's not the purpose of this repo. Your example site will pop up when “spec-up-t” is installed in node_modules of spec-up-t-starterpack when you run npm install.

kordwarshuis commented 1 month ago

Answer to 12: Yes and No.

No: Installing Spec-Up-T inside Docusaurus (or Jekyll, etc) is possible, however it is not recommended practice to have nested _nodemodules directories. Docusaurus (or Jekyll, etc) have their own node_modules directory. You can install Spec-Up-T in a sub directory in which it will get it's own node_modules directory after installation but this is not recommended.

Yes: You can install Spec-Up-T in it's own separate directory in your file system and generate the index.html file. This file can be moved around freely and live in it's own directory, for example in the /static directory of your Docusaurus site. You can rename index.html to foo.html or whatever you like. You could link to this file from other files in your Docusaurus site.

However, the Spec-Up-T file (a one-page website) will have it's own menu and have no connection to your Docusaurus site.

kordwarshuis commented 1 month ago

This Q&A has moved to https://blockchainbird.github.io/spec-up-t-website/docs/q-and-a