Fix building API docs due to the Djblets object caching change.

Review Request #5918 — Created June 1, 2014 and submitted

Information

Review Board
release-2.0.x
8545348...

Reviewers

Djblets's WebAPIResource now sets request._djblets_webapi_object_cache
when being called as a view. However, the webapi doc generation code
bypasses this, resulting in a breakage when building docs.

We now set this on our DummyRequest manually, in order to give the
Djblets functions something to work with.


 
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        docs/manual/_ext/webapidocs.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        docs/manual/_ext/webapidocs.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (62737ef)
Loading...