-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Should add User Documentation #72
Comments
Thanks for submitting this issue – I agree that the documentation is indeed subpar. I'll try to answer your questions, for starters.
I think this is the best way to start building a userscript: $ npm install --global userscripter
$ mkdir my-userscript
$ cd my-userscript
$ userscripter init
$ npm install
$ echo "node_modules/" > .gitignore # due to an issue solved in #67 but not published atm
$ git init
$ git add .
$ git commit -m "Initial commit" At this point, you most likely want to start editing
Short answer: Anywhere in Long answer: The files created by For small userscripts, I typically write my operations "inline" in
They're part of a boilerplate structure that I've used throughout my userscripts:
You don't have to use that structure if you don't want to. As long as you keep 💡 Writing this comment gave me an idea: |
Thanks for taking your time to write this introduction! It really helped me understand the basics of how it works! In my opinion, the table you wrote should be in the
This would be a great idea, it would help a lot to build just what you want and it would simplify the learning curve😀 |
I find this project very interesting. 🥇
I find it very hard to start using it though, because of the lack of user documentation.
I have questions like:
./src/operations.ts
,./src/site.ts
, etc.? What should i do with them? And how can i use them to customize the experience?I could help setting up the Documentation if you want, but i need help understanding the base structure first.
Going through the examples you linked didn't help, unfortunately 😕
The text was updated successfully, but these errors were encountered: