Pylons / pyramid_tutorials

Tutorials for Pyramid
https://docs.pylonsproject.org/projects/pyramid/en/latest/
89 stars 63 forks source link

Update index.rst #86

Closed ghost closed 9 years ago

ghost commented 9 years ago

Added code for init.py

mmerickel commented 9 years ago

I'm sorry but this PR looks exactly like the code in __init__.py already, and you took it out and placed it directly in the docs. Can you explain what you're trying to fix here?

ghost commented 9 years ago

Yeah. If you take a look at http://docs.pylonsproject.org/projects/pyramid-tutorials/en/latest/getting_started/06-template/index.html, there is missing something at the first "2.". I only see "Since we are using Chameleon, tutorial/init.py needs an additional configuration:", but the code is missing. Sorry, when i messed it up :\

mmerickel commented 9 years ago

Ok, I see now. We don't want to lose the literalinclude if don't have to. Presumably there's just a syntax issue preventing it from showing up the way we want.

mmerickel commented 9 years ago

The bullet 2 at http://docs.pylonsproject.org/projects/pyramid-tutorials/en/latest/getting_started/05-tests/index.html is using a literalinclude. There is a bit more whitespace around it which is probably what we're missing here.

ghost commented 9 years ago

Okay :+1:

stevepiercy commented 9 years ago

Closed by #87