Skip to content

Point to Flux site for Flux docs #2236

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

Merged
merged 1 commit into from
Sep 26, 2014
Merged

Conversation

zpao
Copy link
Member

@zpao zpao commented Sep 24, 2014

This doesn't actually remove the pages, just the main content and the
links in the sidebar. This doesn't automatically redirect, but we could
do that if we really wanted.

Fixes #2229

- id: flux-overview
title: Flux Overview
- id: flux-todo-list
title: Flux TodoMVC Tutorial
Copy link
Contributor

Choose a reason for hiding this comment

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

No way to get offsite links into the nav? This is a bit of a bummer. I'd rather be making more connections between React, Flux, Jest, etc rather than less.

@fisherwebdev
Copy link
Contributor

I'm working on an external link solution for Jekyll / Liquid, if that's okay with you.

@sophiebits
Copy link
Collaborator

I think you can edit the template directly in docs/_includes/nav_docs.html.

This doesn't actually remove the pages, just the main content. Sidebar
items now link offsite. The pages doesn't automatically redirect, but we
could do that if we really wanted.

Fixes facebook#2229
@zpao
Copy link
Member Author

zpao commented Sep 25, 2014

@fisherwebdev beat you to it :) The sidebar can now link offsite or really to any hard-coded URL. I put the flux links back in there.

end
end

Liquid::Template.register_filter(Jekyll::SidebarItemFilter)
Copy link
Contributor

Choose a reason for hiding this comment

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

sweet solution here! much cleaner.

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.

Remove flux docs
3 participants