Hacker News new | past | comments | ask | show | jobs | submit | slorber's comments login

Impossible yet it often happens the same old link gets featured everywhere at the same time :)


Docusaurus maintainer here. Can you expand that feeling? What makes you feel Docusaurus as complex?


Wonder if it's not possible to use this dark matter product (normally for Astro) with Docusaurus worth giving it a try https://getdarkmatter.dev/


Docusaurus maintainer here

I agree the md editing story for non-dev contributor is not great.

You can try a git based CMS like Tina, they have a Docusaurus starter/example.

StackBlitz web publisher is also a good solution, allowing you to run Docusaurus directly in the browser in a very simple interface allowing you to commit or send PRs easily. No need to install nodejs locally, and you get a real preview.


Hey there

I work for Meta Open Source, maintaining Docusaurus. It's a SSG that let's you focus on writing content (Markdown/MDX) and will help you ship flexible and beautiful docs and blog static sites.

We just released a new major version of Docusaurus, after 1 year of work once v2.

Let me know if you have any questions


Hey. Congrats on the release! Are you the original author of Doctosaurus? When/how Meta got involved?


Thanks! I'm not the original author but maintain it since mid 2020.

Meta has always been involved, the project was created internally at Meta around 2016 to replace a Jekyll docs boilerplate that was difficult to manage when deploying hundreds of docs.


Gotcha. Thanks for the info!


React vs Vue is a quite significant difference if you plan to customize it: you'd better be familiar with the underlying tech


FYI Software Mansion ran a React-Native survey last year with almost 2000 answers.

Here are the results: https://results.stateofreactnative.com/

My personal biased opinion: React-Native is awesome and keeps improving.


After reading this article, I'm still not sure to understand what Livebook is.

Can someone show me a real production url of what is possible to achieve in Livebook and impossible/difficult to achieve with other tools?

I'm the Docusaurus maintainer, and making your docs interactive, and giving the ability to run the documented project inside its doc does not feel like something new.


Hey, Docusaurus maintainer here.

I'm not sure to understand what you mean by "Docusaurus is static". Docusaurus builds static pages and allows you to plug JS/React code anywhere in your docs, so it's quite interactive and can run anything that can run in a browser, including REPLs.

I read the Fly article but still don't really understand what Livebook is about. They say they use Livebook themselves, but the examples linked to only display a regular non-interactive doc to me.

Do you have any production url showing me an experience that is possible in Livebook, and impossible in Docusaurus?


Sure, here's a simple demonstration of what livebook can do that docusaurus cannot, at least without maintainer expertise ;)

Imagine the following.

<here's a code block containing project metadata>

we click a play button to start an elixir runtime based on that metadata code block

<here's a "component" that securely connects to an elixir system running in a kubernetes pod in production, exposing an elixir REPL to interact with it>

with this component, we then issue commands to inspect state, manage elixir "processes" in the runtime, etc


> we click a play button to start an elixir runtime based on that metadata code block

Can you show a concrete example? IE a real production url running this?

What is "metadata"?

In Docusaurus you can have a live playground evaluating on your browser, or you can embed any embeddable playground if it requires a server integration.

> with this component, we then issue commands to inspect state, manage elixir "processes" in the runtime, etc

Another example would be useful.

So this is just an embedded widget to interact with something remote? Why can't this be built as a React component that you can add to any Docusaurus page?

---

It looks to me that you don't need maintainer knowledge to build that, and React knowledge is enough.


Not to be rude. The live playground probably can’t run elixir/erlang code. And it most certainly cannot connect to a remote running node instance. It’s unfortunate, that the angle here is documentation since, while Livebooks are great for testing and documentation ( https://blog.appsignal.com/2022/05/24/livebook-for-elixir-ju... ), they also provide a great environment for experimenting with elixir code. I’m sure docausorus is great, I’m not sure why you would think Livebooks would be a competitor in the same space. As to you asking for in production links, I’d encourage you to install it and test it for yourself.


here's a recent video recording of the author of Elixir showcasing some latest releases for Livebook: https://www.youtube.com/watch?v=dSjryA1iFng

The code blocks need to be run in sequence, from top-down, as one builds on the next. The "metadata" at the very top often describes the project and its dependencies.


That's because React developers are not on hacker news anymore, they are all reading my newsletter thisweekinreact.com (wink wink)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: