question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New Site: Setup/Tools page

See original GitHub issue

Basically the same idea as in https://github.com/babel/website/issues/1522

This one might be a little more involved

We need to port the setup page in the new site since the old one used jekyll ({% for category in site.data.tools %}) and bootstrap css

This would be targeting the docusaurus branch, not master.

I would read through some of the docs: https://docusaurus.io/docs/en/installation.html + and check out the branch

We can probably just redo how this works? Not sure the time investment though.


If we port:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:20 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
JoelMarceycommented, Feb 5, 2018

@azz Hi. Yes. This is something we are looking at supporting. I would really like if we could design it in the constructs of our current build system. I //think// we can take some clues from some of the customizations that were done with React Native and maybe even Prettier.

1reaction
JoelMarceycommented, Jan 30, 2018

@QC-L I was talking it over with another core Docusaurus team member, @rickyvetter, and he reminded me that onclick can’t work out of the box since Docusaurus sites are server rendered.

the html is generated at build time through a node process as opposed to on the browser when someone loads the page. Since we are just shipping the markup output then dynamic things like click handlers won’t work. We would have to ship the whole application to the client if we wanted that.

Your best option here is probably just including a script tag in vanilla JavaScript that handles your click events (there are some other options, but they might not be as amenable).

@rickyvetter has a Docusaurus site, Reason-React, where he did something similar. https://github.com/reasonml/reason-react/blob/master/website/core/Footer.js

Read more comments on GitHub >

github_iconTop Results From Across the Web

setuptools 65.6.3.post20221224 documentation
Setuptools is a fully-featured, actively-maintained, and stable library designed to facilitate packaging Python projects. It helps developers to easily ...
Read more >
Setuptools - PyPI
setuptools 65.6.3. pip install setuptools. Copy PIP instructions. Latest version. Released: Nov 23, 2022.
Read more >
Getting Started With setuptools and setup.py - PythonHosted.org
To install setuptools visit http://pypi.python.org/pypi/setuptools and follow the instructions for your operating system. ... A sample of this website is:.
Read more >
2. Writing the Setup Script — Python 3.11.1 documentation
The setup script is the centre of all activity in building, distributing, ... at https://setuptools.readthedocs.io/en/latest/setuptools.html independently ...
Read more >
pypa/setuptools: Official project repository for the ... - GitHub
See the Installation Instructions in the Python Packaging User's Guide for instructions on installing, upgrading, and uninstalling Setuptools.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found