-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Idea : migration mobx docs to Docusaurus ? #1859
Comments
Feedback |
What is the advantage of Docusaurus compared to GitBook 😀 |
Gitbook is not the best indeed. I'm having lately some fun with docz as
well, seems to cover all needs nicely as well
Op do 3 jan. 2019 om 08:07 schreef Wee <[email protected]>:
… What is the advantage of Docusaurus compared to GitBook 😀
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1859 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABvGhKfbNcKxOVuc01m65FXGCOJAzeCOks5u_aw7gaJpZM4ZnmgY>
.
|
also: since awesome-mobx doesnt seem really actively maintained, we could link to the best resources in there as well. |
#1470 can be ignored for now 😊
Op ma 6 mei 2019 16:24 schreef chris <[email protected]>:
… What would be a good next step on this issue? I see #1470
<#1470> is updating the docs but
cannot tell if that would be part of this issue or not. Migrating existing
docs to docusaurus / docz? Or using one of them based on what's done in
#1470 <#1470> ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1859 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAN4NBFWY3T4WLNF6MKH2XTPUA5S7ANCNFSM4GM6NAMA>
.
|
Even though Gitbook is not the best, it serves the cause. So unless some enthusiast has a lot of free time and wants to try some other platform out of curiosity, we won't be migrating it. Will close after a week or so without activity. |
Maybe a list of gitbook's shortcomings for mobx would help clarify the value/investment ratio here? "Gitbook is not the best" doesn't give much info (at least to someone new like me) |
@goldylucks I would probably focus on a different angle. What would we gain by migrating to a different platform? I don't honestly know that much about GitBook (or Docusaurus in fact), I mostly just said what Michel did in slightly different words. |
@FredyC I thought this is up for discussion since the issue is still open. Never mind then :) |
Well, the discussion is certainly open, I am not saying we should not be doing it. The more important question is "why should we do it". Although now I see there are two linked issues above that has some mild issues. It's true that Docusaurus or anything is probably more polished these days. And possibly more mobile friendly. Perhaps if someone wants to learn how to work with Docusaurus platform, it might be a good opportunity. I've recently made https://mobx-react.js.org with Docz and it was ok, but I wouldn't probably recommend it for these docs here. |
The why is mostly that gitbook is no longer maintained (in the shape we use
it, as local tool), and I think at this moment I am the only one who can
publish the docs. It works only on node 6.10 (and not later), and
apparantly there is some specific stuff in my global npm packages that
makes it work for me, but not for anybody else. In other words, it is not a
stack we can trust in the future :P
…On Mon, Jul 1, 2019 at 10:53 PM Daniel K. ***@***.***> wrote:
Well, the discussion is certainly open, I am not saying we should not be
doing it. The more important question is "why should we do it".
Although now I see there are two linked issues above that has some mild
issues. It's true that Docusaurus or anything is probably more polished
these days. And possibly more mobile friendly. Perhaps if someone wants to
learn how to work with Docusaurus platform, it might be a good opportunity.
I've recently made https://mobx-react.js.org with Docz and it was ok, but
I wouldn't probably recommend it for these docs here.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1859?email_source=notifications&email_token=AAN4NBA4FZNIBCPXA2PKSJTP5JVFNA5CNFSM4GM6NAMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY7KI6Q#issuecomment-507421818>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAN4NBEGM2MWFZ7LGTOAAJLP5JVFNANCNFSM4GM6NAMA>
.
|
I've noticed there is GitBook V2 which is actively maintained, but I am failing to find some migration guide. It could be another option if they haven't changed it too much. But of course, Docusaurus feels much more sleek and fancy. We just need a volunteer who wants to try out that platform and moving the actual content shouldn't be that hard considering it's all just Markdown. |
I spent a little time researching docusaurus and docz, as well as looking into how the current publishing works. A few thoughts:
I would be happy to help or even do all the leg work here if you all can entertain a few questions I have as I go. I'll need to review my notes but off the top of my head:
Docusaurus has some built-in scripts for github pages, where running its publish script will generate the site and commit / push it to the gh-pages branch. I imagine the workflow is something like:
So working from master could be a good choice, but even if not, I'd highly recommend having the publishing (dev) dependencies added somewhere along with the scripts. As a next step I could try forking the repo and implementing this work, then publishing from there to see what it looks like. Open to suggestions. Hope this is helpful. |
I think it makes sense in case we would move hosting somewhere else (preferably Netlify) instead of gh-pages (which need a separate branch).
It certainly should have it's own Having docs tied with a code gives also an advantage of a relation an actual version of MobX and can be updated with a single PR. The separate branch needs to be tagged, but nobody does that. |
I think docs in master would be great, a separate branch for docs is annoying in many ways. So feel free to proceed! |
Hey all -- I made significant progress on this before starting a new job (and have a 5 mo old, so busy!) -- but I'm ready to start moving on this again. Wanted to leave a note on the current status and get some feedback.
So that's where its at now. I'll start updating that branch again soon and please let me know if y'all have any other thoughts :) |
Thanks for the great work @cloverich. Cannot help much with a landing site content, that are some marketing-like level things :) My view on
There is one major disadvantage with Netlify. They don't offer OSS team plans. Only one team is free with a single team member. It may become a problem in the future when some configuration needs to be tweaked and nobody has access to it. I am not sure if there is a better alternative for OSS project though. Looking at |
Since I moved the docs to master, this won't be necessary any longer. You make the PR to master, and run an npm script also from master
The current workflow certainly is -- I still don't think I completely understand it.
This is true. You would have to rely on the (existing?) CI system to automate this.
Also true. This is the main sticking point for me still, because my preference would be to finish the transition with gh-pages and then move to netlify as a follow-on step (since the gh-pages flow is already functional). |
Nevermind, I think I understand now, the |
Exactly. Right now I"m publishing from my branch with the following command:
The script then (I believe):
I've removed the docusaurus boilerplate and most of the extraneous content now, so you should be able to look at the branch and get an idea of what files I've moved to master, and what files the docusaurus workflow has (see the EDIT: By "look at the branch" i mean look at cloverich/docusaurus -- there's more discussion to be had but some of it can wait for the PR. |
Hm, so the built content has to be pushed to gh-pages? I guess it makes sense, but I hope it won't be another point of confusion. I mean up until now people got used to sending PR to that branch. If we flip it and that branch will be generated only... 🤔 That's surely the advantage of Netlify, they keep built files there, so it doesn't need to pollute the repo. Such tradeoffs... Edit to your edit: Yea it definitely looks more approachable now with docs folder sitting in master. |
I don't think that will be an issue
|
@cloverich I've just send a repo invite. Would you mind creating a branch (and PR) on this repo, and pull your changes into that branch? That enables all of us to contribute to the branch, if you like :) |
Thank you :) PR is up. It would be great if someone(s) could quickly review the todos (esp. if anything should be added, crossed off the list, or clarified). Instructions are there for building locally, since we obviously would not want to publish it to gh-pages until its done, if ever. I will have time to incrementally work on this over the next couple of weeks. |
This has been done and released a while back. Closing. Thanks again for the work! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions. |
Welcome to MobX. Please provide as much relevant information as possible!
I have a:
Please tick the appropriate boxes. Feel free to remove the other sections.
Please be sure to close your issues promptly.
The text was updated successfully, but these errors were encountered: