Skip to main content Accessibility help
Internet Explorer 11 is being discontinued by Microsoft in August 2021. If you have difficulties viewing the site on Internet Explorer 11 we recommend using a different browser such as Microsoft Edge, Google Chrome, Apple Safari or Mozilla Firefox.

Chapter 21: Make It Usable to Others: Documentation and Sphinx

Chapter 21: Make It Usable to Others: Documentation and Sphinx

pp. 657-665

Authors

, University of Washington, Bothell, , City College, City University of New York, , Envestnet Tamarac, Washington, , University of Washington, Bothell, , Biota Technology Inc., California
Resources available Unlock the full potential of this textbook with additional resources. There are free resources and Instructor restricted resources available for this textbook. Explore resources
  • Add bookmark
  • Cite
  • Share

Summary

In Section 4.2.4 we introduced code comments and Jupyter markdown, and in Section 6.2.6, we introduced docstrings. Although these constructs and practices are vital for the programs we write, there is more to documentation. Documentation is often unsung, but it plays a vital role in making our programs understandable and usable by ourselves and others. Python has a number of tools to streamline the process of creating documentation. In this chapter, we discuss principles of documenting, a more detailed general convention for docstrings than was described in Section 6.2.6, and the Sphinx documentation-generation program.

About the book

Access options

Review the options below to login to check your access.

Purchase options

eTextbook
US$74.00
Paperback
US$74.00

Have an access code?

To redeem an access code, please log in with your personal login.

If you believe you should have access to this content, please contact your institutional librarian or consult our FAQ page for further information about accessing our content.

Also available to purchase from these educational ebook suppliers