Hi Justin,

On Mon, Jul 13, 2009 at 6:00 AM, Justin C. Walker<jus...@mac.com> wrote:
>
> Hi, Minh,
>
> On Jul 12, 2009, at 12:12 , Minh Nguyen wrote:
>
>> On Mon, Jul 13, 2009 at 5:02 AM, Justin C. Walker<jus...@mac.com>
>> wrote:
> [snip]
>>
>>> I opened $SAGE_ROOT/devel/sage/doc/output/html/en/index.html (is
>>> there
>>> a better way?), and got the main doc page.  However, clicking on any
>>> of the doc links (Tutorial, ...) opened the *directory*, not the
>>> 'index.html' file in that directory.
>>
>> I think you need to build the HTML version of the website. That is,
>> execute the following command:
>>
>> ./sage -docbuild website html
>>
>> Then view the following page with a web browser:
>>
>> SAGE_ROOT/devel/sage/doc/output/html/en/website/index.html
>
> I did this, which took no time; opening the above link got me this:
>
> No file exists at the address
>     “.../sage-4.1/devel/sage/doc/output/html/en/website/tutorial”.
>
> Should this be '.../en/tutorial'??.

Ah... I think I see what has been causing you and everyone (including
me) problems. The HTML version of the standard documentation has a
main page that links to all the individual documents (tutorial,
reference manual, etc.). Clicking on any link, say the link to the
tutorial, brings you to the directory containing the HTML version of
the tutorial. It should in fact load the index.html page of that
directory. If you have a web server on your machine, then the server
should automatically load the index page. For example, the online
version at

http://www.sagemath.org/doc/

assumes that there is a web server in place to serve pages and
automatically load index pages.

What I think should happen is that each link should point to an
index.html page, not to the directory. That way, you don't need a web
server running on your local machine. I think this should be fixed in
Sage 4.1.1.

-- 
Regards
Minh Van Nguyen

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to