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

Suggestion and question #24

Open
n8ur opened this issue Sep 1, 2021 · 2 comments
Open

Suggestion and question #24

n8ur opened this issue Sep 1, 2021 · 2 comments

Comments

@n8ur
Copy link

n8ur commented Sep 1, 2021

Hi -- I just used Pinion for the first time and really like it. A suggestion about the documentation -- I had trouble figuring out what the "source" option in the javascript call needed to point to. The docs say "Currently, the only option is source that has to contain a location to the source directory". I didn't know whether "source" meant the location of the kicad files, and it took some experimenting to find out it was just where the pinion files lived. It might be easier for newbies if that were made more clear, and even better, show what the contents of the "resources" directory might look like. (I put everything, including the .js and .css in a "tools" directory under my project, and that worked well.)

Now the question -- you reference putting pinion on a github page. How is that done? Can the README.md file include javascript, or is some other approach required?

Thanks very much for a really cool program!

@yaqwsx
Copy link
Owner

yaqwsx commented Sep 30, 2021

Hi, I am sorry for missing your issue.

I use the term "source directory" all over the documentation. It is the directory pinion generate produces. I see no point in specifying what it contains, as the user does not create the content and the content might change between versions. Currently, it contains two images and a JSON file.

If you put a piece of javascript code into a README, GitHub won't render it (for security reasons). However, if you run your readme via GitHub pages, then it will be displayed.

@n8ur
Copy link
Author

n8ur commented Sep 30, 2021 via email

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

No branches or pull requests

2 participants