Comments (12)
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.
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.
@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.
Hey @TomerPacific
Can you run the Docker command ./docker_shell.sh
on master branch before applying your changes?
from docs.
Also please comment below, instead of editing, so I get a notification.
from docs.
@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.
@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.
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.
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.
@plaindocs , @mlvandijk ,
I have opened a PR
from docs.
@mlvandijk , consider closing this issue.
from docs.
Thanks @TomerPacific and @plaindocs
from docs.
Related Issues (20)
- Archetype without running tests with maven integration HOT 1
- Online documentation is broken and unreadable HOT 9
- Use Renovate to update versions.yaml
- Docs website formatting is broken HOT 24
- The API reference page is broken in production, half of the content missing HOT 2
- New unofficial golang implementation HOT 6
- Update direct links to docs on Cucumber website
- Move the 10-minute-tutorial(s) to source code and enable running them in a pre-built environments
- Netlify preview keeps spamming cookie warnings
- Books "Card" embed logic breaks the page HOT 1
- Python Cucumber: Is there a Behave replacement? HOT 2
- Json Cucumber mergeFeaturesWithRetest HOT 1
- Ctrl+C does not stop/kill Docker running the docs HOT 2
- Consistent and correct spelling
- How to enable test data externalization (through Excel/JSON etc.) using Cucumber Java and TestNG? HOT 1
- Can I decide whether the following steps should continue to execute based on the result of the previous step execution HOT 1
- Step of installing cucumber as dependency should be required for the 10 Minute Tutorial
- Add definition of glue to docs HOT 1
- Automate gherkin-i18n-table based on json of gherkin repo HOT 5
- Question for Background with Feature and Rule HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.