sourcey / sourcey/moxygen

command line option for link suffix and prefix.

Open
#54 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
TypeScript
Stars
277
Forks
94
Avg merge
8m
Merged PRs (30d)
8

Description

I use Hugo to generate the website and it drops the '.md' in the links.

A command line option could be used to replace '.md' with whatever is wanted.

I also need a link prefix to get everything to work correctly.

Implemented here:

https://github.com/tyler-gilbert/moxygen/blob/master/src/helpers.js

I can create a pull request if you like.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the linked implementation in src/helpers.js and compare it with moxygen's current command-line option handling. Confirm how Hugo's .md suffix and the required link prefix should be represented; the work is done when both values can be supplied as command-line options and applied to generated links.

Written by the indexing model from the issue text.

Assessment

Tech stack
hugo, javascript
Domain
cli, documentation
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.