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

Include rather than duplicate content in the docs #33

Closed
lukemarsden opened this issue Jan 22, 2018 · 2 comments
Closed

Include rather than duplicate content in the docs #33

lukemarsden opened this issue Jan 22, 2018 · 2 comments
Labels

Comments

@lukemarsden
Copy link
Contributor

there will be duplication of content in places, e.g. "how to install dotmesh" will appear in the tutorial

It would be nice if we could have these in include files from the get go, so that multiple copies don't end up getting stale and out of date

is gohugoio/hugo#247 (comment) the right way to do this?

@lukemarsden
Copy link
Contributor Author

lukemarsden commented Feb 6, 2018

this is a good example of a chunk that would be nice to deduplicate, from the library tutorial

### Make sure you have the hub as a remote

Check the output of the following command to see if `hub` is listed as a remote.

{{< copyable name="step-04b" >}}
dm remote -v
{{< /copyable >}}

If it isn't, add it.
Set an environment variable with your Dothub username in it:

```plain
export HUB_USERNAME=<username>
\```
{{< copyable name="step-09" >}}
dm remote add hub ${HUB_USERNAME}@dothub.com
{{< /copyable >}}

You will be prompted for your API key, which you can get from the [Settings/API Key page](https://dothub.com/ui/settings/apikey).

@alaric-dotmesh alaric-dotmesh changed the title how to do includes Include rather than duplicate content in the docs Jul 16, 2018
@Godley
Copy link
Contributor

Godley commented Dec 11, 2018

Presume this is no longer relevant, reopen if it's a problem

@Godley Godley closed this as completed Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants