Skip to content

Conversation

@ekohl
Copy link
Member

@ekohl ekohl commented Apr 7, 2022

See individual commits for details, but the important part is that with this the cross document links are correctly linking to the local site rather than production.

Comment on lines 32 to 35
# The Satellite build uses links which do not resolve. This does mean the link
# checker has issues with verification of guides that have not yet been built
# by downstream, but there really isn't a way around this unless we start
# building with downstream filenames.
ifneq ($(BUILD), satellite)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this is still valid.

@github-actions
Copy link

github-actions bot commented Aug 18, 2022

The PR preview for 706b18a is available at theforeman-foreman-documentation-preview-pr-1204.surge.sh

The following output files are affected by this PR:

show diff

show diff as HTML

@ekohl
Copy link
Member Author

ekohl commented Aug 23, 2022

@evgeni does that mean you approve and it can be merged?

@evgeni
Copy link
Member

evgeni commented Aug 23, 2022

I didn't test it, so can't really approve, but the concern I had is solved.

Makefile Outdated
ifeq ($(LINKS), SERVE)
BASEURL := http://localhost:$(PORT)/
endif
VERSION_LINKS := 3.4 3.3 3.2 3.1 3.0 2.5 2.4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably extend the procedure "how to add a new Foreman version" to ensure this list is also extended with 3.5.

@ekohl ekohl added the Waiting on contributor Requires an action from the author label Aug 28, 2023
@ekohl
Copy link
Member Author

ekohl commented Aug 31, 2023

I've rebased this and it works for me. Can we merge this before it gets out of date again?

@ekohl ekohl marked this pull request as draft August 31, 2023 16:23
@ekohl
Copy link
Member Author

ekohl commented Aug 31, 2023

While testing this out I found it's annoying that it's not really live. Currently investigating nanoc with live serving.

@ekohl
Copy link
Member Author

ekohl commented Aug 31, 2023

This now takes the approach of serving everything through nanoc, including the built guides. I'm still not quite happy with it, but pushing my work since it's a better direction.

@pr-processor pr-processor bot added Needs re-review and removed Waiting on contributor Requires an action from the author labels Feb 28, 2024
@ekohl
Copy link
Member Author

ekohl commented Feb 28, 2024

Rebased to resolve some conflicts, but no real change. #2840 is related work that I want to build on.

ekohl added 3 commits May 31, 2024 11:19
When developing locally it's good to check the cross links work
correctly. Especially when chapters aren't available on
docs.theforeman.org.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants