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

Add "examples" directory to provide some basic code examples. #26

Open
HJarausch opened this issue Apr 18, 2020 · 3 comments
Open

Add "examples" directory to provide some basic code examples. #26

HJarausch opened this issue Apr 18, 2020 · 3 comments

Comments

@HJarausch
Copy link

examples_old.py tries to import method "Rule" which doesn't exist anymore. Is there a replacement or a working example.py?
Thanks for a hint,
Helmut

@feluxe
Copy link
Owner

feluxe commented Apr 19, 2020

examples_old.py uses the old customization API. I forgot to remove that file. The new documentation API is documented here

I'll remove examples_old.py soon. Thanks for letting me know :)

@HJarausch
Copy link
Author

That's a pity. Lazy people like me would like to look at a demo which shows the features of a piece of software before the dive into the documentation.
And, tests/docs/customizing.py has
from .. import Example
which doesn't exist.
So, please, add a working example.py.
Thanks,
Helmut

@feluxe
Copy link
Owner

feluxe commented Apr 27, 2020

That's a pity. Lazy people like me would like to look at a demo which shows the features of a piece of software before the dive into the documentation.

Hmm, I think I get your point.

I guess it would be nice if there was an examples/ directory with some examples.

@feluxe feluxe changed the title Rule method doesn't exist anymore Add "examples" directory to provide some basic code examples. Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants