#readthedocs

/

      • whit537 joined the channel
      • stevejohnson has quit
      • AndyBotwin joined the channel
      • AndyBotwin joined the channel
      • AndyBotwin has quit
      • RTDGitHubBot joined the channel
      • NOTICE: [readthedocs.org] ericholscher pushed 1 new commit to master: http://git.io/vJHcp
      • NOTICE: readthedocs.org/master a2454dd Eric Holscher: Fix python 3
      • RTDGitHubBot has left the channel
      • c74d3 is now known as _8680_
      • _8680_ is now known as c74d
      • jMyles joined the channel
      • adamginsburg joined the channel
      • bibhas joined the channel
      • bibhas joined the channel
      • kushal joined the channel
      • borneo has quit
      • borneo joined the channel
      • jMyles has quit
      • kennethreitz joined the channel
      • adamginsburg joined the channel
      • agj has quit
      • agj joined the channel
      • paolo_ is now known as paolo
      • paolo has quit
      • paolo joined the channel
      • kennethreitz has quit
      • kennethreitz joined the channel
      • kennethreitz has quit
      • keimlink joined the channel
      • honzakral joined the channel
      • untitaker joined the channel
      • soulshake joined the channel
      • ropes joined the channel
      • SpedgeUK joined the channel
      • SpedgeUK
        Morning folks
      • adamginsburg joined the channel
      • honzakral has quit
      • bowlofeggs
        sup
      • kushal joined the channel
      • adamginsburg joined the channel
      • adamginsburg joined the channel
      • adamginsburg joined the channel
      • armenzg joined the channel
      • bmbouter_afk is now known as bmbouter
      • bmbouter
        good morning!
      • untitaker joined the channel
      • armenzg has quit
      • marscher joined the channel
      • kennethreitz joined the channel
      • adamginsburg joined the channel
      • armenzg joined the channel
      • jMyles joined the channel
      • astrofrog1 joined the channel
      • astrofrog1
        hi there
      • ericholscher: would it be possible to update MPL on RTD to >=1.4? There were some bugs with the plot directive that have been fixed in that version, and 1.4 has now been out for a bit
      • hawkowl
        ericholscher: hi! when editing the list of branches for Twisted, rtd gets suuuuuuper slow
      • ericholscher: the branches that RTD builds, that is
      • i'm guessing that's maybe expected?
      • astrofrog1
        ericholscher: would it also be possible to update setuptools to the latest version? I have some dependencies in my pip requirements file that are failing with the error: The required version of setuptools (>=14.3.1) is not available
      • kennethreitz has quit
      • armenzg has quit
      • armenzg joined the channel
      • keimlink_ joined the channel
      • keimlink_ has quit
      • keimlink has quit
      • jMyles joined the channel
      • jMyles has quit
      • jMyles joined the channel
      • ericholscher
        hawkowl: aye, i'm guessing you have a ton -- we should probably figure out a way to prune them
      • astrofrog1: aye, we should update *all the versions*:)
      • hawkowl
        ericholscher: yeah we have a lot of branches on our github even
      • ericholscher: we prune from svn but pruning from github is more interesting
      • ericholscher: in the meantime i figured out that editing the url is a bit quicker
      • (editing /version/<version>/ to point to the new one i want)
      • does rtd have an api? *checks*
      • ericholscher
        not a good one
      • it's on the list
      • hawkowl
        right
      • a use case for me is automatically adding the branch to the tag + setting it as the default for going to twisted.rtfd.org as part of the release process scripting
      • ericholscher
        yea, in theory we should be doing that automagically as your stable release, but i'm guessing our parsing is not handling your tag names properly
      • hawkowl
        ericholscher: also the top of this webpage is super broke http://read-the-docs.readthedocs.org/en/latest/...
      • ericholscher: our tag names are like twisted-15.1.0
      • ericholscher
        yea, we should be smarter at parsing the name out
      • another thing to add to the long list
      • hawkowl
        hehe
      • also i like the +/- thing in the rtd theme
      • that's a good feature
      • ericholscher
        yea, we just shipped that w/ our 1.3 support :)
      • hawkowl
        :)
      • i liek
      • ericholscher
        we have a couple more big things coming soon as well that I'm excited about
      • hawkowl: another fun thing is the :caption: on toc trees in 1.3 -- which let you get the fancy menu headers that we have on our docs
      • hawkowl
        ooooooooh
      • SpedgeUK
        Yeah, it totally threw me this morning attempting to get THAT to work with an older version of RTD
      • "What do you MEAN caption isn't a real tag?!"
      • Turns out.... :/
      • hawkowl
        well on the Twisted side of docs, next pydoctor version won't look like it's from the 90s! https://dl.dropboxusercontent.com/u/14290114/py...
      • ericholscher
        hawkowl: ooh -- I wanted to ask about pydoctor
      • hawkowl
        i still need to figure out what non-twisted people do about api docs
      • ericholscher
        can it output to json or some intermediary format other than HTML for pulling docstrings?
      • and does it parse instead of import the code?
      • hawkowl
        ericholscher: it does something with sphinx inventories
      • ericholscher
        hawkowl: well, we actually are close to releasing a new sphinx api gen tool that uses epydoc -- but it seems old and unmaintained, but we wanted to parse stuff instead of import it
      • hawkowl
        ericholscher: pydoctor doesnt import it
      • pydoctor is static
      • ericholscher
        i'd love to use pydoctor if that is a better way forward
      • hawkowl
        which means that some things don't work well (eg. if you have fooFunction.__doc__ = """w/e""")
      • ericholscher
        and I can easily get an in-memory representation from a set of files
      • hawkowl
        but that's an edge case
      • ericholscher
        agreed
      • hawkowl
        ericholscher: you should be able to get it in some format
      • lemme check, i was reading through it
      • ericholscher
        does pydoctor support py3 also?
      • hawkowl
        ericholscher: sorry but i just snorted my drink a little
      • SpedgeUK
        :D
      • ericholscher
        heh
      • hawkowl
        ericholscher: no, it doesn't
      • ericholscher: both because it's not under direct development and it has twisted deps that arent ported yet
      • up until last version it still used divmod
      • ericholscher
        ah, none of these python parsers seem to be actively developed
      • I guess for most use cases just importing the code is easier
      • but its a *huge* hassle for RTD
      • hawkowl
        ericholscher: essentially it's not actively developed because it works
      • ericholscher
        if we could just generate API's from parsed python, the whole virtualenv/autodoc craziness would disappear, and that would be really big for us
      • hawkowl
        ericholscher: there's bugs, and it's not the best, but hey
      • ericholscher
        heh yea
      • that's what I found w/ epydoc as well
      • hawkowl
        practicality is the enemy of perfect
      • ericholscher: but, pydoctor doesnt write directly to html
      • ericholscher: but it's kind of intertwined with twisted.web.template
      • because it does some rendering *to* html (optionally)
      • and then puts it *in* html
      • but you can access one layer below
      • ericholscher
        interesting
      • hawkowl
        ericholscher: okay so there's pydoctor.astbuilder
      • which turns an ast into pydoctor.model.Documentable instances
      • for example, a documentable will have a kind
      • which might be "Package" or s
      • so
      • ericholscher
        sure
      • hawkowl
        or a class
      • then you have like, thing.docstring to get the docstring
      • ericholscher
        yup, seems like a nice abstraction
      • thanks for the info -- I'll look into it a bit more
      • !m hawkowl
      • [o__o]
        You're doing good work, hawkowl!
      • hawkowl
        ericholscher: but a lot of things will probably be in epydoc2stan
      • so formatting the actual epydoc into useful stuff is not... abstracted as much