Skip to content

Commit

Permalink
Merge pull request #1 from reactivemarbles/CP_BaseSite
Browse files Browse the repository at this point in the history
Add base to work from, delete and add as required from here
  • Loading branch information
ChrisPulman authored Jun 8, 2024
2 parents d9b7926 + 126e207 commit 42524c9
Show file tree
Hide file tree
Showing 263 changed files with 11,522 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
insert_final_newline = true
indent_style = space

[*.md]
indent_size = 2

[*.less]
indent_size = 2
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Please read first the [Contribute](https://github.com/reactiveui/reactiveui#contribute) section of the README file -->

**What are the main goals of this change?**
- [ ] Better readability (style, grammar, spelling...)
- [ ] Content correction (accuracy, wrong information...)
- [ ] New content


**Is this change related to any reported issue? (Optional)**
<!-- Link to issues here. -->


**Notes (Optional)**
59 changes: 59 additions & 0 deletions .github/workflows/BuildDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: BuildDeploy

on:
push:
branches:
- main

jobs:
build:
runs-on: windows-latest
steps:
- name: 'Setup dotnet 6 / 7 / 8'
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: 'Setup Java JDK 11'
uses: actions/setup-java@v4.2.1
with:
distribution: 'microsoft'
java-version: '11'

- name: 'Add MSBuild to PATH'
uses: microsoft/setup-msbuild@v2.0.0
with:
vs-prerelease: true

- name: 'Install DotNet workloads'
shell: bash
run: |
dotnet workload install android ios tvos macos maui maccatalyst
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v4
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}

- name: 'Restore and Compile and Extract DynamicData Projects to produce content for API and custom md files based on the source'
run: ./build.cmd CreateContent

- name: 'Build DynamicData Website'
run: ./build.cmd BuildWebsite

- name: 'Deploy netlify'
if: ${{ github.event_name != 'pull_request' }}
run: |
npm install -g netlify-cli
netlify deploy --auth=${{ secrets.NETLIFY_DEPLOY_KEY }} --site=${{ secrets.NETLIFY_SITE_ID }} --prod --dir=DynamicData/_site
53 changes: 53 additions & 0 deletions .github/workflows/BuildOnly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: BuildOnly

on:
push:
branches-ignore:
- main

jobs:
build:
runs-on: windows-latest
steps:
- name: 'Setup dotnet 6 / 7 / 8'
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: 'Setup Java JDK 11'
uses: actions/setup-java@v4.2.1
with:
distribution: 'microsoft'
java-version: '11'

- name: 'Add MSBuild to PATH'
uses: microsoft/setup-msbuild@v2.0.0
with:
vs-prerelease: true

- name: 'Install DotNet workloads'
shell: bash
run: |
dotnet workload install android ios tvos macos maui maccatalyst
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 'Cache: .nuke/temp, ~/.nuget/packages'
uses: actions/cache@v4
with:
path: |
.nuke/temp
~/.nuget/packages
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }}

- name: 'Restore and Compile and Extract DynamicData Projects to produce content for API and custom md files based on the source'
run: ./build.cmd CreateContent

- name: 'Build DynamicData Website'
run: ./build.cmd BuildWebsite
31 changes: 31 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'Lock Threads'

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-inactive-days: '14'
pr-inactive-days: '14'
issue-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
pr-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -396,3 +396,5 @@ FodyWeavers.xsd

# JetBrains Rider
*.sln.iml

/DynamicData/api/reactivemarbles/
110 changes: 110 additions & 0 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/build",
"title": "Build Schema",
"definitions": {
"build": {
"type": "object",
"properties": {
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
"enum": [
"Debug",
"Release"
]
},
"Continue": {
"type": "boolean",
"description": "Indicates to continue a previously failed build attempt"
},
"Help": {
"type": "boolean",
"description": "Shows the help text for this build assembly"
},
"Host": {
"type": "string",
"description": "Host for execution. Default is 'automatic'",
"enum": [
"AppVeyor",
"AzurePipelines",
"Bamboo",
"Bitbucket",
"Bitrise",
"GitHubActions",
"GitLab",
"Jenkins",
"Rider",
"SpaceAutomation",
"TeamCity",
"Terminal",
"TravisCI",
"VisualStudio",
"VSCode"
]
},
"NoLogo": {
"type": "boolean",
"description": "Disables displaying the NUKE logo"
},
"Partition": {
"type": "string",
"description": "Partition to use on CI"
},
"Plan": {
"type": "boolean",
"description": "Shows the execution plan (HTML)"
},
"Profile": {
"type": "array",
"description": "Defines the profiles to load",
"items": {
"type": "string"
}
},
"Root": {
"type": "string",
"description": "Root directory during build execution"
},
"Skip": {
"type": "array",
"description": "List of targets to be skipped. Empty list skips all dependencies",
"items": {
"type": "string",
"enum": [
"BuildWebsite",
"Clean",
"Compile",
"Extract",
"Restore"
]
}
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"type": "string",
"enum": [
"BuildWebsite",
"Clean",
"Compile",
"Extract",
"Restore"
]
}
},
"Verbosity": {
"type": "string",
"description": "Logging verbosity during build execution. Default is 'Normal'",
"enum": [
"Minimal",
"Normal",
"Quiet",
"Verbose"
]
}
}
}
}
}
4 changes: 4 additions & 0 deletions .nuke/parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "./build.schema.json",
"Solution": "Website.sln"
}
10 changes: 10 additions & 0 deletions DynamicData/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
###############
# folder #
###############
/**/DROP/
/**/TEMP/
/**/packages/
/**/bin/
/**/obj/
_site
/api/reactivemarbles/
4 changes: 4 additions & 0 deletions DynamicData/Book.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
_disableTocFilter: true
---
<embed type="text/html" src="https://kent-boogaart.com/you-i-and-reactiveui/" style="width:100%; height: 5400px;">
5 changes: 5 additions & 0 deletions DynamicData/api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
###############
# temp file #
###############
*.yml
.manifest
2 changes: 2 additions & 0 deletions DynamicData/api/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# DynamicData Api Documentation

Loading

0 comments on commit 42524c9

Please sign in to comment.