This is an Angular project with compodoc to help document project.
In the compodoc > demo they showed some examples of documents with images I was trying to replicate this within my project but could not make it work.
I have followed this thread instructions. To my understanding, the steps are as follows:
-a
flag: -a screenshots
<-(Am I reading this right?)npm run compodoc
. It should copy -a screenshots
to documentation/screenshots
For me, it is not copying the asset folder into the documentation
directory. Does anyone know how to make this work? Compodoc's documentation does not talk about how to include images.
Screen shot of my file structure:
Thanks you.
-a
is a flag and is shorthand for --assetsFolder
.
![Screenshot-1](screenshots/homepage.png)
compodoc -p tsconfig.json -a screenshots -s
to run compodoc and copy your assets folder