Coder Social home page Coder Social logo

eve-docs's People

Contributors

charlesflynn avatar heath avatar joshvillbrandt avatar kynan avatar mikenerone avatar petrjasek avatar wieshka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eve-docs's Issues

Wrong URL in generated docs

While the URL to my resource is /contact/<regex("[a-f0-9]{24}"):contact>/event, the eve-docs generated URL for it is /contactevent.

Versions:

  • Eve-docs==0.1.4
  • Eve==0.4

Incorrect version on pypi

Howdy,

I'm getting a weird behavior when installing Eve-docs from pypi. Both your code and pypi report the latest version as 0.1.4, but when installing I can only see up to version 0.1.2.

Here are the logs for a clean install of eve-docs:

HCN@ODIN /c/temp/eve-docs-test
$ virtualenv _env --no-site-packages --always-copy
New python executable in _env\Scripts\python.exe
Installing setuptools, pip...done.

HCN@ODIN /c/temp/eve-docs-test
$ source _env/Scripts/activate
(_env)
HCN@ODIN /c/temp/eve-docs-test
$ pip list
pip (1.5.4)
setuptools (2.2)
(_env)
HCN@ODIN /c/temp/eve-docs-test
$ pip install eve-docs==0.1.4
Downloading/unpacking eve-docs==0.1.4
  Could not find a version that satisfies the requirement eve-docs==0.1.4 (from versions: 0.1.0, 0.1.1, 0.1.2)
Cleaning up...
No distributions matching the version for eve-docs==0.1.4
Storing debug log for failure in ....

Notice the error message from pip: Could not find a version that satisfies the requirement eve-docs==0.1.4 (from versions: 0.1.0, 0.1.1, 0.1.2)

Eve-Swagger as a possible alternative to eve-docs

Hello everyone,

Eve author and maintainer here. I just released Eve-Swagger which is a Eve extension providing integration with Swagger, the standard for API documentation and tooling. Amongst other things, Eve-Swagger allows to achieve functionalities which are similar to those offered by Eve-Docs. For more information see http://nicolaiarocci.com/announcing-eve-swagger/.

For the record, in the past I tried to get in touch with the Eve-docs author via mail, Twitter and LinkedIn, with no luck. Since the Eve-Docs project itself seems abandoned right now (last commit was in 2014), I thought he would not mind me posting here in order to let eve-docs users know about the new project. I am also flagging Eve-docs as inactive on the official Eve extensions page.

SyntaxError in config.py with Python 3.4.2

pip install Eve-docs
...
Installing collected packages: Eve-docs, Flask-Bootstrap
Running setup.py install for Eve-docs

  File "/opt/pixspan/app/pixdev_3/lib/python3.4/site-packages/eve_docs/config.py", line 11
    print base
             ^
SyntaxError: Missing parentheses in call to 'print'

Running setup.py install for Flask-Bootstrap

Successfully installed Eve-docs Flask-Bootstrap
Cleaning up...

Add eve-docs to PyPI

Hey @charlesflynn, can you add eve-docs to PyPI so that I can install it from pip? I imagine this is pretty easy since you already have the setup.py file filled out.

Thanks!

Custom url of resource is ignored

When using custom urls :

device = {
    'schema': ...
    'url': 'articles/<regex("\d+"):article>/devices',
}

The documentation ignores it, and show as if it was not specified :

selection_509

Problems running eve-docs

When I add eve-doc and try to access I got this error, any idea ?

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/lib/python2.6/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/usr/lib/python2.6/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.6/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python2.6/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python2.6/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python2.6/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python2.6/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/lib/python2.6/site-packages/eve_docs/__init__.py", line 11, in index
    cfg = get_cfg()
  File "/usr/lib/python2.6/site-packages/eve_docs/config.py", line 11, in get_cfg
    base = '{}://{}'.format(protocol, base['href'])
TypeError: string indices must be integers, not str

P.S. Sorry for posting this at eve repo on first time reporting.

blueprints's name collision

When trying to generate docs, I encounter this error:
AssertionError: A blueprint's name collision occurred between <flask.blueprints.Blueprint object at 0x7f89153c7e90> and <flask.blueprints.Blueprint object at 0x7f8915383710>. Both share the same name "bootstrap". Blueprints that are created on the fly need unique names.
I just used the method given in the doc.

Keep around old releases on PyPI

It would be great to have access to old releases via PyPI rather than only the latest release. Imagine you specify a specific version in your requirements.txt requirements installation will fail once a new release has been pushed and the old replaced.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.