Skip to content

New main page now that docs reside in doc.pytest.org #1708

Closed

Description

@nicoddemus

Now that http://doc.pytest.org is officially up, I propose we change our pytest.org landing page.

pytest.org currently is the same index page for the docs, but I see that other projects usually follow a different direction, containing a short project description, a short snippet right at the beginning and proper links to the rest of the documentation, contact, etc etc. I would say pretty much like our current README.

Examples:

In order to do that, we would probably move a few things in docs, but I propose to keep index.rst as the main docs page, and create another landing-page.rst or something like this (suggestions welcome), and only it would be uploaded to pytest.org, with proper links to http://doc.pytest.org.

I think it would be really nice to have this for 3.0.

cc @pfctdayelise @hackebrot

Activity

  1. added
    type: docsdocumentation improvement, missing or needing clarification
    on Jul 8, 2016
  2. pfctdayelise commented on Jul 10, 2016

    @pfctdayelise
    Contributor

    I think this is a great idea. Some pages like the list of talks/tutorials and the pages on adopt pytest month and the sprint, shouldn't really be part of the docs IMO. Maybe a page on the history of the project and philosophy too (eg prioritising backwards compat).

    Should we try to preserve documentation links (eg http://pytest.org/latest/fixture.html#fixture goes to some page about fixtures) or do we accept a one-time mass breaking of links? I'm not sure if you're proposing that the docs are still accessible under pytest.org/ pages, or only docs.pytest.org/

  3. nicoddemus commented on Jul 10, 2016

    @nicoddemus
    MemberAuthor

    or do we accept a one-time mass breaking of links?

    I think so, unless someone has a solution to avoid this.

    I'm not sure if you're proposing that the docs are still accessible under pytest.org/ pages, or only docs.pytest.org/

    Only through doc.pytest.org, I think.

    Any chance of someone tackling this before 3.0? 😁

  4. The-Compiler commented on Jul 11, 2016

    @The-Compiler
    Member

    I think we really should try having some kind of forward rules in pytest.org's webserver config. Breaking links is really frustrating for people, and we have a lot of pages linking to pytest docs I'd imagine.

  5. nicoddemus commented on Jul 11, 2016

    @nicoddemus
    MemberAuthor

    That would be neat... we could redirect every pytest.org/latest/* to doc.pytest.org/latest/*. Do you know how to do it @The-Compiler? I'm sure @hpk42 would give you access to configure this. 😁

  6. hackebrot commented on Jul 11, 2016

    @hackebrot
    Member

    I think this is a great idea and goes well with our overall concept for the documentation.

    I'd prefer if we refer to the documentation as http://docs.pytest.org/ rather than doc. Seems to be the more common term (and I like it better than doc). 😄

    That's also how I will refer to it during my talk and both docs and doc already work from a technical standpoint.

  7. hackebrot commented on Jul 11, 2016

    @hackebrot
    Member

    FYI: I personally won't be able to contribute much to the docs reorganization at this point, as I am busy with my presentation. 😿

  8. nicoddemus commented on Jul 11, 2016

    @nicoddemus
    MemberAuthor

    Oh I didn't know both doc and docs worked... I agree, personally I also like "docs" better.

  9. The-Compiler commented on Jul 11, 2016

    @The-Compiler
    Member

    That would be neat... we could redirect every pytest.org/latest/* to doc.pytest.org/latest/*. Do you know how to do it @The-Compiler? I'm sure @hpk42 would give you access to configure this. 😁

    Depends on the webserver used (Apache, I think?). For Apache I did it some years ago, I guess I could figure it out.

  10. nicoddemus commented on Jul 11, 2016

    @nicoddemus
    MemberAuthor

    It should be simple for someone who has done it before. Would you mind ask @hpk42 to give you access on signal or by email? I'm not sure Holger is getting notifications from GH.

  11. The-Compiler commented on Jul 11, 2016

    @The-Compiler
    Member

    done (the asking, that is - not the redirect)

  12. nicoddemus commented on Jul 11, 2016

    @nicoddemus
    MemberAuthor

    Thanks! Just a note: the redirect must be from http://pytest.org/latest to http://docs.pytest.org/en/latest.

  13. The-Compiler commented on Jul 14, 2016

    @The-Compiler
    Member

    @hpk42 added the redirect, seems to work fine! 👍

  14. nicoddemus commented on Jul 14, 2016

    @nicoddemus
    MemberAuthor

    Awesome! 😁

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

    type: docsdocumentation improvement, missing or needing clarification

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions