Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Docs #21

Closed
fubuloubu opened this issue Apr 7, 2021 · 5 comments
Closed

Add Docs #21

fubuloubu opened this issue Apr 7, 2021 · 5 comments
Assignees
Labels
category: docs Improvements or additions to documentation

Comments

@fubuloubu fubuloubu added the category: docs Improvements or additions to documentation label Apr 7, 2021
@fubuloubu
Copy link
Member Author

@lost-theory
Copy link
Contributor

lost-theory commented Jun 9, 2021

@sabotagebeats and I talked about splitting up the docs work on Monday. Here are some next steps:

  • eip712 feature/sphinx-docs branch:
    • add the autosummary extension
    • add the doctest extension
    • figure out how to build and host the docs on Github Pages
    • add logic for latest vs stable vs. tagged release directories (can do this in the publish job, use GITHUB_REF)
    • add version picker widget
    • merge the branch to main
    • port the changes over to project-template
  • copy the project-template Sphinx configs to each repo (just ape for now)
  • increase documentation coverage everywhere Sphinx is set up (documenting each module, class, and function)
  • add sphinx-github-changelog

@fubuloubu
Copy link
Member Author

fubuloubu commented Jun 23, 2021

Docs Outline

End User Docs

  • "ape as an application" usage guide
    • Project layout
    • Configuration file
    • "core plugin CLI" endpoint usage guide (Click generated docs?)
      • ape accounts
      • ape compile
      • ape test
      • ape console
    • Plugin installation guide
      • ape plugins
  • "ape as a package" usage guide
    • project object (and Project class)
    • accounts object
    • networks object
    • other objects... (compilers, etc.)
  • Using the Console
    • Inspecting and Debugging Transactions
  • Writing and Using Scripts
  • Writing and Running Tests
    • Debugging Tests
    • "Fork Mode" testing
    • Measuring and Viewing Coverage
    • Property Tests
    • Stateful Testing
  • Deploying Packages

Plugin Writer Docs

  • Overall architecture flow
    • Plugin Registration process flow
      • API Object registration
      • CLI registration
    • Compilation process flow
      • contracts/ folder
      • Source type
      • Compiler manager
      • CompilerAPI plugins
      • ContractType type
      • Project manager
    • Account registration process flow
      • accounts manager
      • AccountAPI/AccountContainerAPI plugins
      • Signing messages and transactions via AccountAPI
    • Transactional process flow
      • networks manager
      • EcosystemAPI plugins
      • NetworkAPI plugins
      • ProviderAPI plugins
      • ExplorerAPI plugins
      • ContractInstance type and encoding via EcosystemAPI
    • Test process flow
      • Writing fixtures
      • TBD...
    • Argument conversion process flow
      • TBD...
  • Writing CLI plugins

Internal Reference

  • docstrings, etc.

@antazoey
Copy link
Member

Will create separate tickets for the last 3 bullets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants