-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Refactor code to prepare for security audit #108
Comments
any todo's that can be picked up here? |
I don't have any concrete tasks to list, my plan was to traverse the whole codebase and check that code style is good, and easy to understand. If you read our code audits you'll see I mention a lot of advice to make the auditor's life easier. If you're interested, feel free to read them and apply similar ideas to Zeppelin:
|
Will definitely do! |
Any thoughts on making documentation with Doxygen, instead of the current Sphinx? In particular, Solidity docs mention Doxygen-like comments, as does this wiki page about NSF. Making documentation inline with code could improve general doc quality, or at least highlight what's missing. This could make an auditor's life easier, and maybe a general user's, too. This would mean switching doc-gen machinery, though, which will complicate things for the project maintainers. Sphinx can't directly handle non-Python code with Doxygen-style comments AFAIK, but it can use an extension, |
OTOH, it may be simpler to extract Doxygen-style comment lines from |
@veox I like that idea |
Heh, which one? I've accidentally started working on the latter, here's WIP so far. (It's pretty ugly, and misses much of what makes a language.) (EDIT: Just noticed What There turns out to be a Sphinx extension for this, too - domaintools. Using that, however, would probably require modifications to the doc-building machine. It seems this is possible with readthedocs. |
To clarify, there is still need to extract the natspec before passing to Sphinx. A custom Sphinx domain is not strictly necessary - something similar, like Javascript, could probably be used. |
No description provided.
The text was updated successfully, but these errors were encountered: