Add available versions to generated package list documentation.
This commit is contained in:
		@@ -42,12 +42,14 @@ gh-pages: _build/html
 | 
			
		||||
	touch .nojekyll && \
 | 
			
		||||
	git init && \
 | 
			
		||||
	git add . && \
 | 
			
		||||
	git commit -m "Initial commit" && \
 | 
			
		||||
	git commit -m "Spack Documentation" && \
 | 
			
		||||
	git push -f $$root master:gh-pages && \
 | 
			
		||||
	rm -rf .git
 | 
			
		||||
 | 
			
		||||
upload:
 | 
			
		||||
	rsync -avz --rsh=ssh --delete _build/html/ cab:/usr/global/web-pages/lc/www/adept/docs/spack
 | 
			
		||||
	git push -f origin gh-pages
 | 
			
		||||
	git push -f github gh-pages
 | 
			
		||||
 | 
			
		||||
apidoc:
 | 
			
		||||
	sphinx-apidoc -T -o . $(PYTHONPATH)/spack
 | 
			
		||||
 
 | 
			
		||||
@@ -94,6 +94,9 @@ def info_rst():
 | 
			
		||||
        print "    * `Homepage <%s>`__" % pkg.homepage
 | 
			
		||||
        print "    * `%s/package.py <%s>`__" % (pkg.name, github_url(pkg))
 | 
			
		||||
        print
 | 
			
		||||
        if pkg.versions:
 | 
			
		||||
            print "Versions:"
 | 
			
		||||
            print "  " + ", ".join(str(v) for v in reversed(sorted(pkg.versions)))
 | 
			
		||||
        if pkg.dependencies:
 | 
			
		||||
            print "Dependencies"
 | 
			
		||||
            print "  " + ", ".join("`%s`_" % d if d != "mpi" else d
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user