Skip to content
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

Add support for Lua under build.tools #11844

Closed
Freed-Wu opened this issue Dec 11, 2024 · 3 comments
Closed

Add support for Lua under build.tools #11844

Freed-Wu opened this issue Dec 11, 2024 · 3 comments
Labels
Needed: more information A reply from issue author is required

Comments

@Freed-Wu
Copy link

What's the problem this feature will solve?

Some document use ldoc to build and it needs a lua

Describe the solution you'd like

build.tools can use lua

Alternative solutions

Use hererocks.

@humitos
Copy link
Member

humitos commented Dec 11, 2024

Hi @Freed-Wu! Do you have an example of a project building with ldoc?

You can use asdf to install Lua in the builder, with something like the following:

version: 2

build:
  os: ubuntu-latest
  jobs:
    pre_install:
      - asdf plugin-add lua https://github.com/Stratus3D/asdf-lua.git
      - asdf install lua latest
      - asdf global lua latest
    install:
      # Install ldoc
      - luarocks install ldoc
    build:
      html:
        # Run the commands required to build the project's documentation

Let me know if that works.

@humitos humitos added the Needed: more information A reply from issue author is required label Dec 11, 2024
@humitos humitos changed the title build.tools lua Add support for Lua under build.tools Dec 11, 2024
@Freed-Wu
Copy link
Author

I use hererocks: here

@humitos
Copy link
Member

humitos commented Dec 11, 2024

Cool, it seems you were able to make this work in https://app.readthedocs.org/projects/prompt-style-lua/builds/26560354/ 🎉

I will close this issue since we won't add build.tools.lua in the near future. We can re-open in the future if we need to re-consider this.

@humitos humitos closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: more information A reply from issue author is required
Projects
None yet
Development

No branches or pull requests

2 participants