# Changeset 2683:555dfe784a86

Ignore:
Timestamp:
01/27/07 00:03:00 (6 years ago)
Branch:
default
Message:

Cleaned up the doc browser a little (much simpler to use?); fixed some tiny bugs (made more robust).

Location:
sage
Files:
5 edited

Unmodified
Removed
• ## sage/rings/polynomial_quotient_ring_element.py

 r2658 -6*a + 2 Next we make a univeriate polynomial ring over \$\$\Z[x]/(x^3+3x-1)\$. Next we make a univeriate polynomial ring over \$\Z[x]/(x^3+3x-1)\$. sage: S. = S[]
• ## sage/rings/power_series_ring.py

 r2681 """ r""" Univariate Power Series Rings
• ## sage/server/notebook/notebook.py

 r2682 m = max([len(x) for x in names] + [30]) for n in names: if n == 'doc_browser': continue W = self.__worksheets[n] if W == current_worksheet: body += '    History' + vbar #body += '     ' + vbar body += '    Documentation' + vbar #body += '    Documentation' + vbar body += '    Documentation' + vbar body += '    Help' + vbar body += '    Slideshow' ('Hide Cell Input', 'Put %hide at the beginning of the cell.  This can be followed by %gap, %latex, %maxima, etc.  Note that %hide must be first.  From the edit screen, use %hideall to hide a complete cell.'), ('Detailed Help', 'Type "help(object)" and press shift-return.'), ('Documentation', 'Click on Documentation in the upper right to browse the SAGE tutorial, reference manual, and other documentation.'), ('Insert New Cell', 'Put mouse between an output and input until the horizontal line appears and click.  Also if you press control-enter in a cell, a new cell is inserted after it.'), ('Attaching Scripts', 'Use "attach filename.sage" or "attach filename.py".  Attached files are automatically reloaded when the file changes.  The file \$HOME/.sage/init.sage is attached on startup if it exists.'), ('Downloading and Uploading Worksheets', 'Click Download in the upper right to download a complete worksheet to a local .sws file, and click Upload to upload a saved worksheet to the notebook.  Note that everything that has been submitted is automatically saved to disk when you quit the notebook server (or type "%save_server" into a cell).'), 'Click Download in the upper right to download a complete worksheet to a local .sws file, and click Upload to upload a saved worksheet to the notebook.  Note that everything that has been submitted is automatically saved to disk when you quit the notebook server (or type "%save_server" into a cell).'), ('Restart', 'Type "restart" to restart the SAGE interpreter for a given worksheet.  (You have to interrupt first.)'), ('Input Rules', "Code is evaluated by exec'ing (after preparsing).  Only the output of the last line of the cell is implicitly printed.  If any line starts with \"sage:\" or \">>>\" the entire block is assumed to contain text and examples, so only lines that begin with a prompt are executed.   Thus you can paste in complete examples from the docs without any editing, and you can write input cells that contains non-evaluated plain text mixed with examples by starting the block with \">>>\" or including an example."), }

SAGE Notebook Quickstart

body = self._doc_html_body(worksheet_id) if worksheet_id is not None: body += ';'%(worksheet_id, W.filename(), W.name()) body += ';'%(worksheet_id, W.filename(), W.name()) return """
• ## sage/server/notebook/server.py

 r2682 #  Doc-browser functionality ####################################################################### # TODO: this will not work right on a multi-user system, since if # multiple people viewer the browser at the same time and eval cells, # this will conflict. def doc_browser(self, path): W = worksheet Wid = W.id() s = notebook.doc_html(Wid, css_href) self.wfile.write(s) #s = notebook.doc_html(Wid, css_href) #self.wfile.write(s) self.show_page(Wid) #s = notebook.html(Wid) #######################################################################
• ## sage/version.py

 r2642 """nodoctests""" version='1.8.2.1'; date='2007-01-24' version='1.9.alpha1'; date='2007-01-26'
Note: See TracChangeset for help on using the changeset viewer.