Documentation and deployment #789
Replies: 16 comments 53 replies
-
I have a feeling we're going to be a problem-child and not aspire to create a perfect world. As I understand it, our wishes are to:
I'm not sure if the Sphynx documentation uses Markdown or RST, because I haven't been able to find its actual source files, but either one is fine. We all know Markdown, so using that wouldn't be a problem, and RST seems to be a lot like Markdown, so we can always look up how things are done with that if that's what we end up with. The GitHub wiki is in a state of disarray and, as such, contains some things that really ought to go into the official documentation. We're slowly working on the wiki and getting that taken care of won't be a problem once we know how to get at the official documentation. |
Beta Was this translation helpful? Give feedback.
-
We've got access to the obsolete docs, but I'm very worried about the current documentation. If it's abandoned, we'll need to copy all of its information so that we can recreate it in a place we have access to. Is it still active in any way, @josephj11, and/or do we have access to its source files? Last, but not least, I'm not a decision-maker, so I'm just coming along for the ride and will go with whatever is decided and try to help out as much as possible. |
Beta Was this translation helpful? Give feedback.
-
Will this disable Pages? https://docs.github.com/en/pages/getting-started-with-github-pages/unpublishing-a-github-pages-site More importantly, will it disable Pages without destroying the data on the https://autokey.github.io/autokey page or should we rescue that first? I can't see the link referenced in those instructions in the main page of my fork or on the https://github.com/autokey/autokey page, but @josephj11 will probably be able to see it. |
Beta Was this translation helpful? Give feedback.
-
Not sure where to post this: Jekyll stuff to get you started Searching fo jeckyl No such file or directory @ dir_chdir - /github/workspace/docs produced lots of links https://www.youtube.com/watch?v=EvYs1idcGnM&list=PLWzwUIYZpnJuT0sH4BN56P5oWTdHJiTNq&t=16s https://scds.github.io/github-pages/lesson3.html https://github.com/MichaelCurrin/jekyll-blog-demo https://talk.jekyllrb.com/t/cannot-deploy-site-via-github/6883/14 |
Beta Was this translation helpful? Give feedback.
-
Did anything legal changed on Github because of its acquisition by Microsoft? In relationship to Autokey? |
Beta Was this translation helpful? Give feedback.
-
TLDR: OMG, we need help. NOT TLDR: If you view all branches in the AutoKey project, there's a red x next to the develop branch. If you click on the red x, you get a pop-up that lets you know that the **pages build and deployment/build(dynamic) **check failed. If you click on its Details link, you'll see some Jekyll output. The most interesting part of that output is this red error (that you can only see if you're signed in on GitHub):
There's also this error summary near the bottom:
This GitHub discussion suggests that changing the GitHub Pages theme will solve the issue. These are the supported themes. According to the Jekyll output linked to above, we're using the jekyll-theme-primer theme. This GitHub discussion suggests changing the Build and deployment setting in the GitHub Pages settings from the /docs directory to root instead to solve the issue. What I'm not sure of is what would happen if we experimented with either of those and they didn't work. Would we lose the documentation that we currently have that it produced when it was working? We should back up each of the pages of the documentation first, so that we'd at least have them as HTML in the event that this all goes sideways. If you'd like to try either or both of those, I don't have the power to do it, so it will be on you, @josephj11. One of the pages that you linked above (the https://talk.jekyllrb.com/t/cannot-deploy-site-via-github/6883/14 page) suggests making edits to web-page files. We can't do that, because there are no web page files for the new documentation. Some of my digging has brought me to @sebastiansam55 's Update develop #2 page and I'm starting to think that that's where our new docs are hosted from, because I can't find any mention of them in the AutoKey source code. Of course, I don't fully know what I'm doing, so I could be wrong. Hopefully, @sebastiansam55 can chime in here to let us know. Last, but not least, I'm working my way through the two links that you gave that go to playlists of lessons to see if I can learn this and, thereby, figure out what's wrong, but since this wasn't done in a basic way (put HTML files in a directory in the AutoKey source files and point GitHub pages at that directory), I strongly suspect that we're going to need help with this, @josephj11. |
Beta Was this translation helpful? Give feedback.
-
Here's some additional information I've been digging up that may or may not be useful: The last time that the GitHub Pages deployment worked was on December 6, 2021. It seems that we need to find out what happened after that to break it. The Missing docs folder section of this GitHub Pages help page has a few suggestions for what can be done about a missing I still get the impression that most of the advice to be found online is for folks whose web page files are stored inside of a folder inside of their repository rather than exploded all over the source as ours are. As a result, I'm not certain of how to proceed for our exploded situation, which seems to be rather unique. |
Beta Was this translation helpful? Give feedback.
-
I think this also belongs here but, if it doesn't, I will move it to a separate discussion. What would it take to activate financial support for Autokey developers? |
Beta Was this translation helpful? Give feedback.
-
Searching for https://www.sphinx-doc.org/en/master/tutorial/getting-started.html#setting-up-your-project-and-development-environment https://www.sphinx-doc.org/en/master/support.html Since I don't think we're doing anything that "interesting", there should be plenty of people there who have done exactly what we're doing and, maybe, someone who might also help us do it. |
Beta Was this translation helpful? Give feedback.
-
Searching for |
Beta Was this translation helpful? Give feedback.
-
Here's another place that might be helpful. |
Beta Was this translation helpful? Give feedback.
-
Thanks for all the links and searches. I'll add these to my ever-growing ToDo list. |
Beta Was this translation helpful? Give feedback.
-
i tried downloading all those files.. if i open one locally, such as
lib.scripting.GtkClipboard-class.html, there is a tiny menu at the top
right:
"[frames] | [noframes]"
when i click 'noframes' i lose the table of contents on the left of the
page. not a big deal.
haven't looked any further yet, life is about to intervene.
jack
Five exclamation marks, the sure sign of an insane mind
…On 12/03/2023 09:00, Joe wrote:
I'm not knowledgeable about web development, but what happens if you
open one of those pages in a browser and select the save as option or
use a wget of some sort? You're saving the resulting web page, not
whatever was used to generate it, but shouldn't that be OK?
I'm not clear as to what you were looking for when searching for 0.95.10.
The results illustrate why I don't like changing the master. I'm
pretty sure that unhidden sidecar files was added in 0.96.0, but here
it is, at least in a message, in 0.95.10. That's the sort of
uncertainty I don't want to have to deal with.
—
Reply to this email directly, view it on GitHub
<#789 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABO76CEGHDD2BUMYPW7CDJDW3WNFLANCNFSM6AAAAAAVIRAANM>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It just occurred to me that I should be able to set GitHub Pages to None, do a release, and then turn it back on. We just have to test on the side somewhere that no files we need get deleted/lost when we set it to None and have the GitHub actions run for real with no errors to block their completion. If we get it fixed for real before we need to do a release, then we won't have to test this. |
Beta Was this translation helpful? Give feedback.
-
Great. Will do now. |
Beta Was this translation helpful? Give feedback.
-
I just tried that link. I get 404
Jack
…On 14 Mar 2023, 22:21, at 22:21, Elliria ***@***.***> wrote:
Well, that's odd. That made the new documentation go away. I'm not
getting a 404 on the
[https://autokey.github.io/autokey/index.html](https://autokey.github.io/autokey/index.html)
page. Weren't we told that the new documentation isn't being served by
GitHub Pages? This is very strange.
--
Reply to this email directly or view it on GitHub:
#789 (reply in thread)
You are receiving this because you were mentioned.
Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
There is currently three deployments of documentation.
epydoc @ https://autokey.github.io
Sphinx @ https://autokey.github.io/autokey
Github Wiki @ https://github.com/autokey/autokey/wiki
In an ideal world you want these merged into a single deployment in one place.
Currently your primary limitation is the documentation format used:
reStructuredText
This limits what tools can use to generate documentation, mostly to Sphinx, as it's all parts of the python ecosystem. Markdown is more popular now and allows for more choice in tools, like:
mkdocs + material
So you can chose to commit to the python ecosystem only and use sphinx + rst or convert to markdown using pandoc
So at this point you have two main choices to make.
Where will your deployment be?
What documentation format will you use
What Static site generation tool will you use
All deployed to
https://autokey.github.io
and the rest removed.edit:
The wiki will already be in a markdown format as seen if you clone it
https://github.com/autokey/autokey.wiki.git
So it makes sense to use the wiki files as base and convert the remaining RST on demand.
Beta Was this translation helpful? Give feedback.
All reactions