-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Move online documentation to Github Pages #5986
Comments
Looks like it is already on rdt: http://spyderide.readthedocs.io/en/latest/ Last build was generated 3 months ago. |
We don't have control on that. I really don't who has it. |
The RTD user that has control of it is |
Unfortunately, i think there is no free organization option for open source project on RTD. There is only a paid option: https://readthedocs.com/pricing/. So I think we will have to contact a RTD admin and ask them to delete the current project that is own by maxgam. Then we will be able to claim back the ownership of the spyder repo on RTD. Maybe we can use Spyder bot for this purpose, or you can use your personal account. |
@CAM-Gerlach, please open an issue in Readthedocs so they can put us in contact with After that, we could set up a webhook to update our docs every time new content is pushed to Github, and then we could remove our old docs (which can't be updated anymore). |
Done, as requested. Do we have a contingency plan in case we aren't able to immediately resolve it in this fashion? Aside from picking a different name, I can think of a few potential legal strategies, though IANAL.
Seems quite simple enough, once we get control of the project... |
@ccordoba12 Hey, any progress on your end with this? What's the current status? |
I just created the new repository for our docs: https://github.com/spyder-ide/spyder-docs @CAM-Gerlach, please move our current docs from here to that repo. There you can update the Sphinx theme to use a more modern one and add new content. Once that's ready, please use doctr: https://github.com/drdoctr/doctr to deploy the docs to the GitHub pages of the repo. The last step of the plan is to add a link in our new homepage to the generated documentation. |
One thing I'm not sure we should do or not is to stop distributing our docs with the package. I mean, we can certainly do that for Spyder 4, but I think we should not do it for Spyder 3 because it's in maintenance mode and I'm sure some people are using that feature. |
Do I understand correctly or we won't be using RTD to deploy the docs? It's going to be directly hosted on github? |
@ccordoba12 Will do, thanks.
Want me to offer up a few good options in a PR or Issue on that repo and have the team vote/give feedback?
Anything particular in mind that's high priority before we deploy them?
I guess the biggest major downside is if we make any changes before we drop support for 3.x, we'll have to submit two PRs against two different repos, right? |
@CAM-Gerlach even if we don't use RTD (which I'm not sure) maybe that would be a good idea to claim the name anyway just in case? |
We can't claim it. We can just become co-admins of the Spyder project (which we already are). But once the docs are removed from the Spyder repo, the project will cease to be valid and we'll be admins of the |
Sure, thanks!
We should probably go with our current content to start. Then you could add new content in different PRs. There are a lot of new things we could talk about, but let's leave that for later.
We could have two branches in |
That's what I meant. Claiming the |
Yes, please claim it. |
Done. I've added you and @CAM-Gerlach as admins. |
@ccordoba12 So are we still deploying directly to github pages with doctr, to RtD as discussed previously or both? If both, which should be the preferred/canonical outlet to link users to, e.g. from our site? |
Let's try with Github pages first. |
@ccordoba12 I've done everything except for the final deployment with Also, since I apparently can't see the settings page on the repo likely due to lack of permissions, can you setup the proper tags, description line, branch protection, and other settings for that repo; or, if possible, grant me the appropriate permissions on that repo so I can do so? Thanks. |
@ccordoba12 Okay; all that's done and the current docs are live on Github pages. However, there remains the question of what to do about supporting docs for multiple versions of Spyder simultaneously, given we have separate docs for As of now, I have it set up to build and test-deploy docs with PRs to both branches, so we know they work, but to only actually deploy them to the live site from the
Or, there might be another, better option entirely...thoughts @ccordoba12 @jnsebgosselin ? |
I'm in favor of this option, that's what we've done so far. Besides, from our issue tracker here on Github we can conclude very few people is using master. Let's start with this and see how things evolve (now that everything is setup in spyder-docs). Another thing I like about using our own deployment, instead of RTD, is that can render our docs inside our website. Finally, where our docs live is not the most important thing but its content. So @CAM-Gerlach, we rely on you to expand our docs and better explain people how to use the many features Spyder has to offer. We also need a more modern Sphinx theme, with a color scheme similar to the one we're using in our website. |
Cool; that's the current status quo as of now if and until we want to change it.
Especially since its on a subpath of our nominal domain, is there an easy way to set this up? Or have them in an
Yep, will do right after I get all the legal stuff taken care of, help get us funded, fix the outstanding bugs I'm assigned, and hopefully pitch in getting the website into better shape, alongside the usual tide of user issue reports, PR reviews and repo management...oh and don't forget my courses, internship job, personal research, funded research, and volunteer outreach :) Hopefully this summer I can do a big push on it, especially if I'm not already too busy with my next big funded project designing new sensors and ML/ANN processing algorithms for NOAA's satellite fleet. In the meantime, I'll try to get in incremental improvements, but it seems my primary short term focus is funding (both Spyder's and my own) and getting as much as practicable low hanging fruit done for 3.2.9. |
I can help with writing the docs once we get to that part. |
Once @dalthviz finish our blog (which is almost done), he'll add an entry in our nav bar to easily access them. After that, we could remove the deployment in pythonhosted.org, which can't be updated anymore.
Yes, please open an issue in spyder-docs to discuss about it.
Great! I think we can set up some tasks and ask people what they want to work on. |
Thanks a lot @jitseniesen! I'd say you can start right now, if you have time, by opening a document in Dropbox paper first, then ask for feedback and finally, when the discussion has finished, open a PR in spyder-docs. I think we should start with a Dropbox paper because we have attested that reviewing content in a PR is very cumbersome. |
Okay, so this is in work right now? Any idea on an ETA? I'm guessing quick enough that you're implicitly recommending that I just wait for that to proceed rather than going ahead and submitting a PR to do it myself, since this is the last blocker toward resolving this work item?
Will do shortly. Should I notify our core and juniors on the issue directly with @ to weigh in, or announce it with @ all on the Gitter?
I'll try to get a basic framework setup with issues on that repo. Right now, my proposed plan for 3.2.9
I can commit to at least doing all of that for the time being; beyond that I would think the next shorter-term priority for me and/or @jitseniesen is hitting some of the low-hanging fruit content improvements like filling out features that aren't described, and describing more of the "how" and not just the "what" when explaining a feature or capability. But really, almost anything is helpful at this point. |
@ccordoba12 Are we sure Dropbox paper won't mangle any of the formatting, spacing, characters in our |
It should be ready by the end of next week, but I'd like to have a new theme in place for our docs before doing the transition.
As you wish ;-)
Good plan. Please go ahead with it.
That would be a great start! |
That's quite a while, but I suppose it makes sense if it takes us that long to decide on a theme. Hopefully I'll have the baseline editing pass and the screenshots done sooner, as well.
I can't promise how much in-depth content work I can prioritize for 3.2.9 considering my many other tasks for that and other near-term milestones (website, funding, etc), but hopefully @jitseniesen can pitch in there at some point. |
The old PyPI doesn't allow to upload new documentation to pythonhosted.org, so we need to remove the docs hosted there and move them to readthedocs.
CAM-Gerlach Edit:
.travis.yml
gh-pages
and.nojekyll
docs.spyder-ide.org
subdomainThe text was updated successfully, but these errors were encountered: