1. Georg Brandl
  2. sphinx-contrib
  3. Issues
Issue #30 new

httpdomain: use more usual markup and rendering for placeholders

Éric Araujo
created an issue

Instead of "/users/(int:user_id)/posts/(tag)" I would find more intuitive to use markup similar to the file role, e.g. "/users/{user_id}/posts/{tag}". The HTML rendering would be the same as for the file role, with italics in the CSS. This example also removes the type from the URI; they can be in the main doc block, just like for functions.