Skip to content

Commit

Permalink
Replace hardcoded edge links in guides
Browse files Browse the repository at this point in the history
One link to edgeapi -> api

Two hardcoded links to edgeguides -> relative links

Searching edgeapi now only results in links that are explicitly supposed
to be to edgeapi.

There are still some links to edgeguides, however they seem to be
consistent:

- a link to _overview or _basics in a framework's README
- any link to contributing_to_ruby_on_rails
- a link to security.html in gemspecs
  • Loading branch information
skipkayhil committed Nov 12, 2022
1 parent 9253d40 commit 897beb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion guides/source/action_text_overview.md
Expand Up @@ -145,7 +145,7 @@ GlobalID](https://github.com/rails/globalid#signed-global-ids).
Action Text renders embedded `<action-text-attachment>` elements by resolving
their `sgid` attribute into an instance. Once resolved, that instance is passed
along to
[`render`](https://edgeapi.rubyonrails.org/classes/ActionView/Helpers/RenderingHelper.html#method-i-render).
[`render`](https://api.rubyonrails.org/classes/ActionView/Helpers/RenderingHelper.html#method-i-render).
The resulting HTML is embedded as a descendant of the `<action-text-attachment>`
element.

Expand Down
2 changes: 1 addition & 1 deletion guides/source/autoloading_and_reloading_constants.md
Expand Up @@ -309,7 +309,7 @@ Corollary: Those classes or modules **cannot be reloadable**.

The easiest way to refer to those classes or modules during boot is to have them defined in a directory which does not belong to the autoload paths. For instance, `lib` is an idiomatic choice. It does not belong to the autoload paths by default, but it does belong to `$LOAD_PATH`. Just perform a regular `require` to load it.

As noted above, another option is to have the directory that defines them in the autoload once paths and autoload. Please check the [section about config.autoload_once_paths](https://edgeguides.rubyonrails.org/autoloading_and_reloading_constants.html#config-autoload-once-paths) for details.
As noted above, another option is to have the directory that defines them in the autoload once paths and autoload. Please check the [section about config.autoload_once_paths](#config-autoload-once-paths) for details.

Eager Loading
-------------
Expand Down
2 changes: 1 addition & 1 deletion guides/source/contributing_to_ruby_on_rails.md
Expand Up @@ -492,7 +492,7 @@ The Ruby on Rails [guides](https://guides.rubyonrails.org/) provide a high-level

If your PR adds a new feature, or changes how an existing feature behaves, check the relevant documentation, and update it or add to it as necessary.

For example, if you modify Active Storage's image analyzer to add a new metadata field, you should update the [Analyzing Files](https://edgeguides.rubyonrails.org/active_storage_overview.html#analyzing-files) section of the Active Storage guide to reflect that.
For example, if you modify Active Storage's image analyzer to add a new metadata field, you should update the [Analyzing Files](active_storage_overview.html#analyzing-files) section of the Active Storage guide to reflect that.

### Updating the CHANGELOG

Expand Down

0 comments on commit 897beb8

Please sign in to comment.