Git Product home page Git Product logo

Comments (12)

TomerPacific avatar TomerPacific commented on July 28, 2024

Hi @plaindocs ,
I would like to help. Is there a preferred way you would like this to be solved?
Also, it might take me a while since I am not familiar with Hugo.

from docs.

plaindocs avatar plaindocs commented on July 28, 2024

Hey @TomerPacific , welcome, and thanks for helping out.

As mentioned above, Hugo automatically generates the ID from the heading text, so we just need to add an on mouse-over behaviour to show a '#' that contains that link.

We'd probably prefer to do this within the templating language when generating the site, rather than with Javascript. In the discourse link above there is mention of a modifer to {{ .Content }} you might try.

Try applying that in single-content.html partial and index.html layout.

Let me know how you get on. :-)

from docs.

TomerPacific avatar TomerPacific commented on July 28, 2024

@plaindocs ,
thanks for the detailed reply.
I'll take a look at it and update you on how I progress.

26.10.18 Update
I have looked at the discourse link above and have added code to single-content.html and index.html. I am currently in the process of creating a local development environment to see if my changes work.

2.11.18 Update
@plaindocs , When trying to run the website locally through docker, I get the following message:

Error response from daemon : OCI runtime create failed: container_linux.go:348: starting container process caused "exec: "\r": executable file not foun in $PATH": unknown

Do you have any idea what seems to be the problem? Tried looking online for help, but found nothing relevant.

from docs.

plaindocs avatar plaindocs commented on July 28, 2024

Hey @TomerPacific

Can you run the Docker command ./docker_shell.sh on master branch before applying your changes?

from docs.

plaindocs avatar plaindocs commented on July 28, 2024

Also please comment below, instead of editing, so I get a notification.

from docs.

TomerPacific avatar TomerPacific commented on July 28, 2024

@plaindocs ,
I figured as much, since I didn't see you commenting.
I don't know if I'll be able to run docker on master since it does not run locally on my machine. I'll give it a try and update here (with a new comment)

from docs.

TomerPacific avatar TomerPacific commented on July 28, 2024

@plaindocs,
tried running the command after switching to master branch, but I am still getting the same error. I have to make it clear that I am running things on a Windows machine with Windows7 64bit.

from docs.

plaindocs avatar plaindocs commented on July 28, 2024

Hmmm, then I'm not really sure.

Maybe @mlvandijk has tips on running on Windows?

Or you could push your work up to a branch and use the Preview for the PR?

from docs.

mlvandijk avatar mlvandijk commented on July 28, 2024

Sorry no tips on running docker on windows... the other option is to push to a branch, create a PR and use preview (show all checks -> details), like @plaindocs suggested. Please mark the PR as WIP while you are working on it so we know not to merge

from docs.

TomerPacific avatar TomerPacific commented on July 28, 2024

@plaindocs , @mlvandijk ,
I have opened a PR

from docs.

TomerPacific avatar TomerPacific commented on July 28, 2024

@mlvandijk , consider closing this issue.

from docs.

mlvandijk avatar mlvandijk commented on July 28, 2024

Thanks @TomerPacific and @plaindocs

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.