Skip to content

Commit

Permalink
Fix Document , Recipes not found bug (OrchardCMS#5172)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyzx86 authored and sebastienros committed Jan 8, 2020
1 parent 057f6ef commit 8a9a251
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
5 changes: 4 additions & 1 deletion src/docs/guides/decoupled-cms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,13 @@ This will allow for the Razor Pages to be reloaded without the need to recompile

```xml
<ItemGroup>
<PackageReference Include="OrchardCore.Application.Cms.Core.Targets" Version="1.0.0-rc1-10004" />
<PackageReference Include="OrchardCore.Application.Cms.Targets" Version="1.0.0-rc1-10004" />
</ItemGroup>
```

!!! hint "Nightly builds"
If you are using the nightly builds of Orchard Core (MyGet feed) then you should use the package `OrchardCore.Application.Cms.Core.Targets` instead.

This will add the packages from Orchard Core CMS

- Edit the `Startup.cs` file `ConfigureServices` method like this:
Expand Down
43 changes: 22 additions & 21 deletions src/docs/reference/modules/Resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@ Named resources are well-known scripts and stylesheets that are described in a m
They have a name, a type (script, stylesheet) and optionally a version.
The `OrchardCore.Resources` module provides some commonly used ones:

| Name | Type | Versions | Dependencies |
| ---- | ---- | -------- | ------------ |
| jQuery | Script | 3.4.1 | - |
| jQuery.slim | Script | 3.4.1 | - |
| jQuery-ui | Script | 1.12.1 | jQuery |
| jQuery-ui-i18n | Script | 1.7.2 | jQuery-ui |
| popper | Script | 1.16.0 | - |
| bootstrap | Script | 3.4.0, 4.4.1 | jQuery, Popper |
| bootstrap | Style | 3.4.0, 4.4.1 | - |
| codemirror | Script | 5.48.4 | - |
| codemirror | Style | 5.48.4 | - |
| font-awesome | Style | 4.7.0, 5.12.0 | - |
| font-awesome | Script | 5.12.0 | - |
| font-awesome-v4-shims | Script | 5.12.0 | - |
| Name | Type | Versions | Dependencies |
| --------------------- | ------ | ------------- | -------------- |
| jQuery | Script | 3.4.1 | - |
| jQuery.slim | Script | 3.4.1 | - |
| jQuery-ui | Script | 1.12.1 | jQuery |
| jQuery-ui-i18n | Script | 1.7.2 | jQuery-ui |
| popper | Script | 1.16.0 | - |
| bootstrap | Script | 3.4.0, 4.4.1 | jQuery, Popper |
| bootstrap | Style | 3.4.0, 4.4.1 | - |
| codemirror | Script | 5.48.4 | - |
| codemirror | Style | 5.48.4 | - |
| font-awesome | Style | 4.7.0, 5.12.0 | - |
| font-awesome | Script | 5.12.0 | - |
| font-awesome-v4-shims | Script | 5.12.0 | - |

## Usage

Expand Down Expand Up @@ -196,6 +196,7 @@ You can declare a new resource directly from a view, and it will be injected onl

``` liquid tab="Liquid"
{% script src:"/TheTheme/js/foo.min.js", debug_src:"/TheTheme/js/foo.js" %}
{% script src:"/TheTheme/js/foo.min.js", debug_src:"/TheTheme/js/foo.js", at: "Foot", DependsOn:"jQuery" %}
```

``` html tab="Razor"
Expand Down Expand Up @@ -243,10 +244,10 @@ The following example demonstrates how to inject a custom script in the footer s

These properties are available:

| Name | Description |
| ---- | ---- |
| `name` (`asp-name` in Razor)| The `name` attribute of the tag |
| `content` | The `content` attribute of the tag |
| `httpequiv` | The `http-equiv` attribute of the tag |
| `charset` | The `charset` attribute of the tag |
| `separator` | The separator to use when multiple tags are defined for the same name |
| Name | Description |
| ---------------------------- | --------------------------------------------------------------------- |
| `name` (`asp-name` in Razor) | The `name` attribute of the tag |
| `content` | The `content` attribute of the tag |
| `httpequiv` | The `http-equiv` attribute of the tag |
| `charset` | The `charset` attribute of the tag |
| `separator` | The separator to use when multiple tags are defined for the same name |

0 comments on commit 8a9a251

Please sign in to comment.