Always link to the current documentation URL.

Review Request #5854 — Created May 21, 2014 and submitted

Information

Review Board
release-2.0.x
196f6d1...

Reviewers

We've always had to manually update the various URLs to the user manual,
and we've never been very consistent about doing that. However, this is
pretty easy to compute, so there's not much reason for us to have to
change anything.

There's now a new get_manual_url() function that's used to populate the
URL for the web UI and for rb-site. This will use a versioned manual if
it's a released build tagged 'final', or the 'dev' manual otherwise.

Looked at the HTML source to see that the URLs were correct.

Also created a site install and saw the URL it mentioned.

I tested this with release and final set, and without.

Description From Last Updated

'reviewboard' imported but unused

reviewbotreviewbot

local variable 'manual_ver' is assigned to but never used

reviewbotreviewbot

import 'choice' from line 17 shadowed by loop variable

reviewbotreviewbot

'reviewboard' imported but unused

reviewbotreviewbot

import 'choice' from line 17 shadowed by loop variable

reviewbotreviewbot
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/admin/context_processors.py
        reviewboard/cmdline/rbsite.py
        reviewboard/__init__.py
      Ignored Files:
        reviewboard/templates/base/headerbar.html
        reviewboard/templates/base.html
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/admin/context_processors.py
        reviewboard/cmdline/rbsite.py
        reviewboard/__init__.py
      Ignored Files:
        reviewboard/templates/base/headerbar.html
        reviewboard/templates/base.html
    
    
  2. reviewboard/__init__.py (Diff revision 1)
     
     
    Show all issues
     'reviewboard' imported but unused
    
  3. reviewboard/admin/context_processors.py (Diff revision 1)
     
     
    Show all issues
     local variable 'manual_ver' is assigned to but never used
    
  4. reviewboard/cmdline/rbsite.py (Diff revision 1)
     
     
    Show all issues
     import 'choice' from line 17 shadowed by loop variable
    
  5. 
      
chipx86
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/admin/context_processors.py
        reviewboard/cmdline/rbsite.py
        reviewboard/__init__.py
      Ignored Files:
        reviewboard/templates/base/headerbar.html
        reviewboard/templates/base.html
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/admin/context_processors.py
        reviewboard/cmdline/rbsite.py
        reviewboard/__init__.py
      Ignored Files:
        reviewboard/templates/base/headerbar.html
        reviewboard/templates/base.html
    
    
  2. reviewboard/__init__.py (Diff revision 2)
     
     
    Show all issues
     'reviewboard' imported but unused
    
  3. reviewboard/cmdline/rbsite.py (Diff revision 2)
     
     
    Show all issues
     import 'choice' from line 17 shadowed by loop variable
    
  4. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (9ad2216)