Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 09 16:19
    kernc commented #6
  • Oct 09 16:18
    dhimmel edited #6
  • Oct 09 16:17
    dhimmel opened #6
  • Sep 18 11:11
    sindrehan edited #5
  • Sep 18 11:06
    sindrehan opened #5
  • Sep 15 18:50
    PanRe commented #4
  • Sep 10 19:56
    mivade opened #4
  • Sep 06 21:17
    michaeljoseph commented #3
  • Sep 06 06:25

    timothycrosley on gh-pages

    Deployed with MkDocs version: … (compare)

  • Sep 06 06:19

    timothycrosley on gh-pages

    Deployed with MkDocs version: … (compare)

  • Sep 06 06:19

    timothycrosley on master

    Grammer fixes in README for Lic… (compare)

  • Sep 06 06:15

    timothycrosley on master

    Additional license clarification (compare)

  • Sep 06 06:14

    timothycrosley on master

    Add licensing notes, forking no… (compare)

  • Sep 06 05:44

    timothycrosley on master

    License clarification (compare)

  • Sep 05 12:48
    zachvalenta opened #3
  • Sep 03 16:01

    timothycrosley on gh-pages

    Deployed with MkDocs version: … (compare)

  • Sep 03 16:00

    timothycrosley on master

    Add Zach Valenta (@zachvalenta)… (compare)

  • Sep 03 15:59

    timothycrosley on master

    amend typos Merge pull request #2 from zach… (compare)

  • Sep 03 15:59
    timothycrosley closed #2
  • Sep 03 15:59
    timothycrosley commented #2
Or Carmi
@liiight
hey, just found this via portray :)
i want to create a pytest plugin that will document the testing project itself (modules, tests, fixtures etc.). Would it be possible to use pdocs for this?
can i pass arbitrary modules, classes and functions to pdocs which are not importable via python, but are collected using the pytest collector?
Or Carmi
@liiight
holy shit, i got it
just need to see about fixtures
Timothy Edmund Crosley
@timothycrosley
i want to create a pytest plugin that will document the testing project itself (modules, tests, fixtures etc.). Would it be possible to use pdocs for this?
That sounds like a really cool project!
One warning: pdocs like pdoc before it and pdoc3 (beside?) it, does import modules to do introspection
It is theoretically possible to use AST parsing instead, which is something I really want to explore, but it is harder then introspection
Or Carmi
@liiight
I was able to collect all test modules and pass that as a list to create the docs
Although that seems to have a bug where the linked modules from the index.html lead to directory links and they're supposed to have .html extension, resulting in 404
I want to expand it to fixtures too, need to see how to correctly collect those
I think I'll want to extend the Module class to support custom pytest stuff for the html generation, like markers and parametrization
I actually have a plugin like this already but I manually convert the formats which sucks
I want to remake it using pdocs
Timothy Edmund Crosley
@timothycrosley
That sounds awesome!
Although that seems to have a bug where the linked modules from the index.html lead to directory links and they're supposed to have .html extension, resulting in 404
I'll look into this further