-
Notifications
You must be signed in to change notification settings - Fork 90
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
[JOSS Review] Documentation enhancements #319
Comments
@blsqr Thanks for those suggestions :) @JamesPHoughton could you take charge of the deployment of more versions than master/latest in RTD? |
@blsqr I have been working on the PR #312. We have this PR almost ready for merge which includes part of the future roadmap of the paper (splitting parsing from building and Abstract Model representation, it doesn't include the numpy array based backend). We will soon modify the paper slightly to keep it updated. We are working now on finishing the documentation of that branch and we will include your suggestion. As soon everything is ready I will let you know. Thanks :) |
Happy to look at it, can you help me understand more about what this means? Would we want to have a separate version for 2.0 vs 3.0? |
@JamesPHoughton ReadTheDocs offers to build Versioned Documentation for tags, such that you can select between the docs of version 2.0, 2.2.4, … via a selector like this, including the new Whether you want to do that is another question, I'd say. The main advantage of versioned documentation may be of an archival nature: it allows users to refer to a certain version and have the corresponding docs available on RTD. This may also come in handy when publishing PySD models that were created with a specific version. Regarding implementation: In the RTD admin interface you might want to check the Advanced Settings and make sure the "Single Version" setting is not checked. RTD typically sets up a webhook automatically upon project import, but you may have to do this manually, if it does not work. After the webhook is set up, each new tag that matches a semantic version number will trigger a build. Also note that you can manually edit which versions will be shown publicly. I believe you can also manually trigger builds for older tags, if needed. |
@enekomartinmartinez @rogersamso Having looked at the PR build of the docs for #312, I think it looks great and these are valuable changes. I'm happy you found my suggestions helpful. There are no further suggestions from my side regarding #312. Whether you keep this issue open (for tracking the changes to RTD deployment) or close it is up to you. |
Thanks @enekomartinmartinez |
Some minor things I stumbled upon in
The latter also shows up in the Docs: Another suggestion regarding the developer documentation: I think it would profit from consolidating the information about locally running tests in one place; currently, they are a bit spread out and partly contradictory regarding the dependencies (compare
In my mind, this could be the Development Guidelines doc page (in the test suite section) or the |
Hi @blsqr, |
Fair enough, I didn't think about that! But maybe that raises an interesting point: the alpha/beta/… status may not be that informative overall, because it's unclear what it relates to for PySD. In my perception, PySD's public interface looks rather stable and it is feature complete regarding many intended use cases. For me that would already warrant a "release" or "production" status, even if there are still some further features and translation functions to be implemented. At the same time, I see your point: It should be clear that not all Vensim and Xmile functions are available yet. However, would that not be better communicated by explicitly having something like a comparison table that shows which functions are available and which still need to be implemented? An alpha or beta status does not really convey that, in my opinion. Either way: I think you have to feel happy with the release status and I can understand if you'd want to keep it as alpha or beta 👍 |
@JamesPHoughton have you been able to change the configuration in RTD? And what do you think about moving the release status? |
Thanks for this clear explanation, maybe moving to beta could be a good approach. |
Hey @enekomartinmartinez - I was able to manually set up some active versions in the RTD, but didn't add every release, as there are so many. Here's what's currently being shown: |
I don't personally think we need to tie our alpha/beta status to feature completeness - the feature set of Vensim is notoriously bloated, and I don't think we can or even should aim to support all of Vensim's functionality. From my perspective, the alpha/beta/production status signals to the user more about how ready the software is for the average user from a reliability standpoint, and how involved we expect them to be in the bugfinding process! I'm more than happy to move to 'beta' at this point to signal the maturity that @enekomartinmartinez has achieved in the last 3(!!!) major releases. =) |
Thanks a lot! That looks fine to me. I would show all the releases of the current major release 3.x.x, and the notorious previous major releases. Maybe it would be nice to also include the last 2.x.x release. What do you think? |
Hi again @rogersamso, @enekomartinmartinez, and co-authors 👋
This issue is part of the PySD review at JOSS. Following the review checklist, I'd like to make a few remarks regarding the PySD documentation.
First things first: The documentation is well written and very helpful for getting started with PySD and running some example models. With resources like the cookbook linked, I imagine this to be a good starting point for using PySD.
I also like the developer-focussed documentation that details program structure and philosophy!
For publication in JOSS, the following points need to be addressed, though:
Model
class, it'srun
method etc.. There should be a page containing the full public API reference.In addition, I'd have the following thoughts and suggestions regarding the documentation (all optional):
master
/latest
to readthedocs.If there's something unclear in what I wrote above or if I can be of help with the necessary changes, please let me know.
The text was updated successfully, but these errors were encountered: