Skip to content

Conversation

skwerlman
Copy link
Contributor

@skwerlman skwerlman commented Sep 14, 2018

Resolves #898

This PR adds an option, :api_reference, allowing the page api-reference.html to be disabled. It defaults to true, which is consistent with existing behavior.

When set to false, build_api_reference/2 is not called when generating the list of extras, and the text or using our <a href="api-reference.html" title="API Reference">API Reference</a> page is not included in 404.html.

This PR also fixes a missing space in the moduledoc for Mix.Tasks.Docs.

@sourcelevel-bot
Copy link

Hello, @skwerlman! This is your first Pull Request that will be reviewed by Ebert, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information.

@josevalim josevalim merged commit 5c5acfa into elixir-lang:master Sep 14, 2018
@josevalim
Copy link
Member

❤️ 💚 💙 💛 💜

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Allow disabling of api_reference

2 participants