Skip to content

Commit

Permalink
Fix links in open source docs by converting absolute to relative paths.
Browse files Browse the repository at this point in the history
This addresses one of the two issues reported in:
#212

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=328213970
  • Loading branch information
mbrukman authored and emspishak committed Aug 31, 2020
1 parent 376e0a8 commit 59bccf4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
7 changes: 5 additions & 2 deletions documentation/codelabs/helloworlds/helloworld_java.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,5 +332,8 @@ You've just completed the Soy Hello World using Java. Where should you go next?

- To use the same templates from this chapter in JavaScript, try the
[Hello World Using JavaScript](helloworld_js.md) examples.
- To read more about Soy concepts, take a look at the
[Concepts](/third_party/java_src/soy/g3doc/concepts/index.md) chapter.
- To read more about Soy concepts, take a look at the [Concepts][concepts]
chapter.

[concepts]: /documentation/concepts/index.md

10 changes: 4 additions & 6 deletions documentation/reference/calls.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@ passing makes code more readable and easier to debug.
**WARNING**: This is not supported by JSWire. b/123785421

You can also pass data to the callee with the `call` command's `data` attribute.
This accepts a variable of type
[record](/third_party/java_src/soy/g3doc/reference/types.md#record). The `call`
command sets the values of any parameters in the callee whose names match fields
in the record.
This accepts a variable of type [record](types.md#record). The `call` command
sets the values of any parameters in the callee whose names match fields in the
record.

For example, the following call sets the value of the `largerNum` parameter to
20 and the `smallerNum` parameter to 10. It is equivalent to the call in the
Expand All @@ -104,8 +103,7 @@ the wrong type.
If the record contains fields whose names do not match any parameter names,
these are ignored by the callee. Similarly, if there are any parameters whose
names do not match any field names, these are not set; whether this causes an
error depends on [whether the parameter is
required](/third_party/java_src/soy/g3doc/reference/templates.md#param).
error depends on [whether the parameter is required](templates.md#param).

#### Pass all of the caller's `data`

Expand Down
4 changes: 2 additions & 2 deletions javascript/soy_requirements_onefile.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 59bccf4

Please sign in to comment.