Closed kordwarshuis closed 1 month ago
Interesting to see the difference between:
asset
-subdir In the single file test, Daniel "pulls in" the json and the test.text data with this code in spec.md, or at least he tries (see bold):
" Use the following format to pull in content from other files in your project:
This text has been inserted here from another file: [[insert: ./single-file-test/assets/test.text]]
This text has been inserted here from another file: [[insert: ./single-file-test/assets/test.text]]
You can even insert content within more complex blocks, like the JSON object below which is being pulled in and rendered in a syntax-highlighted example block:
::: example Code Example ```json [[insert: ./single-file-test/assets/test.json]] ``` :::
::: example Code Example
[[insert: ./single-file-test/assets/test.json]]
::: "
The result here, however, doesn't show the text "Beam, me over, Scotty"
To get back to the question 'What to do with Single/Multi file test?' I would say: get rid of it for the time being.
Agreed!
It seems to me that two options in Spec-Up are not being used anymore:
specs
(in specs.json
) is an array)Created branch archive/before-deleting-file-test-dirs
(https://github.com/blockchainbird/spec-up-t/tree/archive/before-deleting-file-test-dirs) and deleted these dirs:
/multi-file-test
/single-file-test
The default output dir for the index.html
file, /docs
, is added to .gitignore since it serves no purpose in the spec-up-t package itself.
Decide if these directories belong in the repo or not:
/docs
/multi-file-test
/single-file-test
Since we have the installer (
npx create-spec-up-t
), what is the use of these directories?/docs
--> .gitignore ?/multi-file-test
--> delete ?/single-file-test
--> delete ?