Skip to content

Sphinx overhaul (was: Release notes/changelog?) #178

Closed

Description

@djc

Replace the epydoc with Sphinx autodoc, and create a basic Sphinx doc folder/site, including a changelog using Releases.

Can probably start with the Sphinx + changelog, put that on a distinct directory on the server for now, and have an index page linking to both. Then the docstring change-over can happen later, or piecemeal.


Original content:

Can you please put up a rudimentary changelog or release notes file? I really dislike getting new versions without any indication of what's changed.

Activity

  1. bitprophet commented on Sep 28, 2013

    @bitprophet
    Member

    First question - where have you been looking? Hopefully paramiko.org. (I say hopefully because the mailing list got nuked before I took over and there's really no other good info channel right now. But I do control that new site.)

    I have been keeping a changelog in https://github.com/paramiko/paramiko/blob/master/NEWS but acknowledge it's not exactly visible unless one is obtaining source distributions.

    There are definite plans to update the docs to Sphinx - which will include a changelog page, as Sphinx allows for prose docs and isn't just API doc like epydoc. I even broke out a changelog generator from another project, which I intend to use when that happens.

    Thought I had a ticket open for that - but I don't see one. So this will do. Thanks!

  2. bitprophet commented on Sep 28, 2013

    @bitprophet
    Member

    Updated title/desc to be more generic.

  3. bitprophet commented on Sep 29, 2013

    @bitprophet
    Member

    See also Fabric #419 for generic thoughts about static-vs-api docs.

  4. bitprophet commented on Jan 23, 2014

    @bitprophet
    Member

    Very nearly there (again see the abovelinked Fab ticket for details about figuring out the approach itself). Once happy, I need to:

    • Modify any settings in conf.py files to look at canonical URLs (e.g. the intersphinx stuff)
    • Merge website-178 to 1.10, then up to master
      • Incorporate NEWS entries into newer changelog file as we go
      • Remove those entries from NEWS too! leaving only the old stuff.
    • Modify RTD settings for both sites to default to 'latest' instead of 'website-178' version
    • Update DNS such that www.paramiko.org points to the WWW site's RTD subdomain as a CNAME
    • Ditto re: docs.paramiko.org and the 'docs' site's RTD subdomain
    • Leave the wildcard/landing entries pointing at my VPS
    • Update my VPS' nginx config so that it listens for all subdomains + root entry (i.e. server_name .paramiko.org) and 301's them to www.paramiko.org (which will then be the CNAME resolving to RTD)
  5. bitprophet commented on Jan 29, 2014

    @bitprophet
    Member

    Given the new plan, doing this modified checklist to only launch the www site:

    • Remove intersphinx for now until Epydoc -> Sphinx. #256 is done
    • Merge website-178 to 1.10, then up to master
      • Incorporate NEWS entries into newer changelog file as we go
      • Remove those entries from NEWS too! leaving only the old stuff.
    • Modify RTD settings for the WWW version, to 'latest' instead of 'website-178' version
    • Update DNS such that www.paramiko.org points to the WWW site's RTD subdomain as a CNAME
    • Leave the wildcard/landing DNS entries pointing at my VPS
    • Update my VPS' nginx config so that it listens for all non-docs subdomains + root entry and 301's them to www.paramiko.org (which will then be the CNAME resolving to RTD)
    • Ensure the docs subdomain is still being hosted by the VPS itself (i.e. hosted Epydoc output)
    • Make sure everything works: hit root site, get sent to WWW; WWW loads OK everywhere; link to docs subsite works; docs subsite works everywhere.
    • Test that pushes to master trigger RTD builds of the WWW site
  6. bitprophet commented on Jan 30, 2014

    @bitprophet
    Member

    Ran into Releases #20 while updating changelog. Gonna suck it up & mark up things explicitly for now, then circle back after when I've more time.

  7. bitprophet commented on Jan 30, 2014

    @bitprophet
    Member

    Everything's in place, just waiting for DNS to flip over (in the meantime there's a redirect loop at apex/www, but meh :()

  8. bitprophet commented on Jan 30, 2014

    @bitprophet
    Member

    New DNS showing up in one of my unused browsers, things seem to work ok. Time to merge some more bugs and release. See also: #259, #256, #260.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions