Opened 13 years ago

Closed 13 years ago

#5539 closed defect (fixed)

[with patch, positive review] "sage -docbuild" could use a better error message

Reported by: robertwb Owned by: tba
Priority: minor Milestone: sage-4.0.2
Component: documentation Keywords:
Cc: Merged in: 4.0.2.alpha0
Authors: John Palmieri Reviewers: Minh Van Nguyen
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

$ sage -docbuild
You must specify the document name and the output format

It would be nice if it at least gave a list of available documents to build.

Attachments (1)

trac_5539.patch (736 bytes) - added by jhpalmieri 13 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by AlexGhitza

It would also be nice if it gave a list of available output formats.

comment:2 Changed 13 years ago by jhpalmieri

  • Summary changed from "sage -docbuild" could use a better error message to [with patch, needs review] "sage -docbuild" could use a better error message

Here's a patch which doesn't do what you're asking, but tells you how to get the list.

Changed 13 years ago by jhpalmieri

comment:3 Changed 13 years ago by mvngu

  • Authors set to John Palmieri
  • Reviewers set to Minh Van Nguyen
  • Summary changed from [with patch, needs review] "sage -docbuild" could use a better error message to [with patch, positive review] "sage -docbuild" could use a better error message

Yes, I agree that the command

sage -docbuild -help

provides more help on building the documentation. The error message of

sage -docbuild

now informs the user about that command. Positive review.

comment:4 Changed 13 years ago by ncalexan

  • Merged in set to 4.0.2.alpha0
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.