Skip to content

Commit 0903004

Browse files
committed
Fixed markdown formatting
1 parent 01b46c2 commit 0903004

28 files changed

+245
-86
lines changed

.github/CONTRIBUTING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
1-
# Contributing to AtlassianPS Homepage
1+
# Contributing to ConfluencePS
22

33
Happy to see you are interested in helping.
44

5-
We have a comprehensive documentation on how to contribute here: **[Contributing to AtlassianPS](https://atlassianps.org/docs/contributing/)**.
5+
We have a comprehensive documentation on how to contribute here: **[Contributing to AtlassianPS](https://atlassianps.org/docs/Contributing/)**.
66

77
But here is the gist of it once you have forked the repository:
88

9-
* before changing the code
9+
* before changing the code
10+
1011
```powershell
1112
git clone https://github.com/<YOUR GITHUB USER>/ConfluencePS
1213
cd ConfluencePS
13-
# git checkout develop # not applicable for this repository
14+
git checkout develop
1415
git checkout -b <NAME FOR YOUR FEATURE>
1516
code .
1617
```
1718

18-
* after making the changes
19+
* after making the changes
20+
1921
```powershell
2022
git add .
2123
git commit -m "<A MESSAGE ABOUT THE CHANGES>"
2224
git push
2325
```
2426

25-
* [Creating a Pull Request](https://help.github.com/articles/creating-a-pull-request/)
27+
* [create a Pull Request](https://help.github.com/articles/creating-a-pull-request/)

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
<!-- markdownlint-disable MD002 -->
6+
<!-- markdownlint-disable MD041 -->
7+
8+
## Description
9+
10+
<!-- A clear and concise description of what the bug is. -->
11+
12+
## Steps To Reproduce
13+
14+
<!-- Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant -->
15+
16+
1. Go to '...'
17+
2. Click on '....'
18+
3. Scroll down to '....'
19+
4. See error
20+
21+
## Expected behavior
22+
23+
<!-- A clear and concise description of what you expected to happen. -->
24+
25+
## Screenshots
26+
27+
<!-- If applicable, add screenshots to help explain your problem. -->
28+
29+
## Your Environment
30+
31+
<!-- Include as many relevant details about the environment you experienced the bug in -->
32+
<!-- The following code snip is a recommendation. You can just paste the output here. -->
33+
34+
> ```powershell
35+
> Get-Module AtlassianPS.Configuration -ListAvailable | Select Name, Version
36+
> $PSVersionTable
37+
> ```
38+
39+
## Possible Solution
40+
41+
<!-- Not obligatory, but suggest a fix/reason for the bug -->
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
<!-- markdownlint-disable MD002 -->
6+
<!-- markdownlint-disable MD041 -->
7+
8+
## Context
9+
10+
> **Is your feature request related to a problem? Please describe.**
11+
12+
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
13+
14+
## Description
15+
16+
> **Describe the solution you'd like**
17+
18+
<!-- A clear and concise description of what you want to happen. -->
19+
20+
## Additional Information
21+
22+
<!-- Add any other context or screenshots about the feature request here. -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,30 @@
1+
<!-- markdownlint-disable MD002 -->
2+
<!-- markdownlint-disable MD041 -->
13
<!-- Provide a general summary of your changes in the Title above -->
24

35
### Description
6+
47
<!-- Describe your changes in detail -->
58

69
### Motivation and Context
10+
711
<!-- Why is this change required? What problem does it solve? -->
812
<!-- If it fixes an open issue, please link to the issue here as follows: -->
913
<!-- closes #1, closes #2, ... -->
1014

1115
### Types of changes
16+
1217
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
18+
1319
- [ ] Bug fix (non-breaking change which fixes an issue)
1420
- [ ] New feature (non-breaking change which adds functionality)
1521
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
1622

17-
### Checklist:
23+
### Checklist
24+
1825
<!-- Go over all the following points, and put an `x` in all the boxes that apply. -->
1926
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
27+
2028
- [ ] My code follows the code style of this project.
2129
- [ ] I have added Pester Tests that describe what my changes should do.
2230
- [ ] I have updated the documentation accordingly.

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ A new major version! ConfluencePS has been totally refactored to introduce new f
8686
- Private functions are leveraged heavily to reduce repeat code
8787
- `Invoke-Method` is the most prominent example
8888

89-
If you like drinking from the firehose, here's [everything we closed for 2.0], because we probably forgot to list something here. Otherwise, read on for summarized details.
89+
If you like drinking from the fire hose, here's [everything we closed for 2.0], because we probably forgot to list something here. Otherwise, read on for summarized details.
9090

9191
### Added
9292

@@ -106,7 +106,7 @@ If you like drinking from the firehose, here's [everything we closed for 2.0], b
106106
- `Get-ConfluenceChildPage`
107107
- Default behavior returns only immediate child pages. Which also means...
108108
- Added `-Recurse` to return all pages below the given page, not just immediate child objects
109-
- NOTE: Recurse is not available in on-prem installs right now, only Atlassian cloud instances
109+
- NOTE: Recurse is not available in on-premise installs right now, only Atlassian cloud instances
110110
- `-ParentID` > `-PageID`
111111
- `Get-ConfluenceLabel`
112112
- Name used to be `Get-WikiPageLabel`

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permalink: /module/ConfluencePS/
1111

1212
Automate your documentation! ConfluencePS is a PowerShell module that interacts with Atlassian's [Confluence] wiki product.
1313

14-
Need to add 100 new pages based on some dumb CSV file? Are you trying to figure out how to delete all pages labeled 'deleteme'? Are you sick of manually editing the same page every single day? ConfluencePS has you covered!
14+
Need to add 100 new pages based on some dumb CSV file? Are you trying to figure out how to delete all pages labeled 'deleteMe'? Are you sick of manually editing the same page every single day? ConfluencePS has you covered!
1515

1616
ConfluencePS communicates with Atlassian's actively supported [REST API] via basic authentication. The REST implementation is the only way to interact with their cloud-hosted instances via API, and will eventually be the only way to interact with server installations.
1717

@@ -43,6 +43,7 @@ Set-ConfluenceInfo -BaseURI 'https://YourCloudWiki.atlassian.net/wiki' -PromptCr
4343
### Usage
4444

4545
You can find the full documentation on our [homepage](https://atlassianps.org/docs/ConfluencePS) and in the console.
46+
4647
```powershell
4748
# Review the help at any time!
4849
Get-Help about_ConfluencePS
@@ -70,7 +71,7 @@ Check out our guidelines on [Contributing](https://atlassianps.org/docs/Contribu
7071
|Powershell Core (latest) on Ubuntu|[![Build Status](https://img.shields.io/vso/build/AtlassianPS/ConfluencePS/3/master.svg?style=for-the-badge)](https://dev.azure.com/AtlassianPS/ConfluencePS/_build/latest?definitionId=3)|
7172
|Powershell Core (latest) on MacOS|[![Build Status](https://img.shields.io/vso/build/AtlassianPS/ConfluencePS/3/master.svg?style=for-the-badge)](https://dev.azure.com/AtlassianPS/ConfluencePS/_build/latest?definitionId=3)|
7273

73-
## Acknowledgments
74+
## Acknowledgements
7475

7576
* Thanks to [brianbunke] for getting this module on it's feet
7677
* Thanks to [thomykay] for his [PoshConfluence] SOAP API module, which provided enough of a starting point to feel comfortable undertaking this project.

Tools/BuildTools.psm1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ function Publish-GithubReleaseArtifact {
200200
}
201201

202202
function Set-AppVeyorBuildNumber {
203+
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseShouldProcessForStateChangingFunctions', '')]
203204
param()
204205

205206
Assert-True { $env:APPVEYOR_REPO_NAME } "Is not an AppVeyor Job"
@@ -405,7 +406,7 @@ function Remove-Utf8Bom {
405406
.LINK
406407
https://gist.github.com/indented-automation/5f6b87f31c438f14905f62961025758b
407408
#>
408-
409+
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseShouldProcessForStateChangingFunctions', '')]
409410
[CmdletBinding()]
410411
param (
411412
# The path to a file which should be updated.

docs/en-US/classes/ConfluencePS.Attachment.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ permalink: /docs/ConfluencePS/classes/ConfluencePS.Attachment/
66
# ConfluencePS.Attachment
77

88
## SYNOPSIS
9+
910
Defines an object for Attachments in Confluence.
1011

1112
## SYNTAX
@@ -17,14 +18,17 @@ New-Object -TypeName ConfluencePS.Attachment [-Property @{}]
1718
```
1819

1920
## DESCRIPTION
21+
2022
**fix**The `Attachment` is an object that describes Attachments in Confluence.
2123

2224
## CONSTRUCTORS
25+
2326
_This class does not have a constructor._
2427

2528
## PROPERTIES
2629

2730
### Id
31+
2832
The Id is the unique identifier of the `Attachment`.
2933

3034
_This value can't be changed and is assigned by the server._
@@ -36,6 +40,7 @@ Default value: None
3640
```
3741
3842
### Status
43+
3944
The Status describes the current status of the `Attachment`.
4045

4146
Possible values are: `current`, `trashed` and `draft`.
@@ -47,6 +52,7 @@ Default value: current
4752
```
4853

4954
### Title
55+
5056
The filename / Title of the `Attachment` as stored by the server.
5157

5258
Note that this name is not unique between pages and can contain invalid characters for windows files.
@@ -58,6 +64,7 @@ Default value: None
5864
```
5965

6066
### Filename
67+
6168
The filename that will be used by Get-AttachmentFile.
6269

6370
Note that this is designed to be unique as the page id is prepended to the name and invalid characters removed.
@@ -67,7 +74,9 @@ Type: String
6774
Required: True
6875
Default value: None
6976
```
77+
7078
### MediaType
79+
7180
The MIME media type of the `Attachment`.
7281

7382
```yaml
@@ -77,6 +86,7 @@ Default value: None
7786
```
7887

7988
### FileSize
89+
8090
The file size of the `Attachment` in bytes.
8191

8292
```yaml
@@ -86,6 +96,7 @@ Default value: None
8696
```
8797

8898
### SpaceKey
99+
89100
The Space key in where the `Attachment` is stored.
90101

91102
```yaml
@@ -95,6 +106,7 @@ Default value: None
95106
```
96107

97108
### PageId
109+
98110
The page ID in where the `Attachment` is stored.
99111

100112
```yaml
@@ -104,6 +116,7 @@ Default value: None
104116
```
105117

106118
### Version
119+
107120
Contains the information about the latest version of the `Attachment`.
108121

109122
```yaml
@@ -113,16 +126,19 @@ Default value: None
113126
```
114127

115128
### URL
129+
116130
Contains the URL under which the `Attachment` is accessible.
117131

118132
```yaml
119133
Type: String
120134
Required: True
121135
Default value: None
122136
```
137+
123138
## METHODS
124139

125140
### ToString()
141+
126142
The method for casting an object of this class to string is overwritten.
127143

128144
When cast to string, this will return `[$Id] $Title`.

docs/en-US/classes/ConfluencePS.ContentLabelSet.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ permalink: /docs/ConfluencePS/classes/ConfluencePS.ContentLabelSet/
66
# ConfluencePS.ContentLabelSet
77

88
## SYNOPSIS
9+
910
Defines an object for ContentLabelSets in Confluence.
1011

1112
## SYNTAX
@@ -17,17 +18,21 @@ New-Object -TypeName ConfluencePS.ContentLabelSet [-Property @{}]
1718
```
1819

1920
## DESCRIPTION
21+
2022
The `ContentLabelSet` is an object that describes the `Label`s that are assigned to a `Page`.
2123

2224
## REFERENCES
25+
2326
_This class is not used by any other class._
2427

2528
## CONSTRUCTORS
29+
2630
_This class does not have a constructor._
2731

2832
## PROPERTIES
2933

3034
### Page
35+
3136
Contains the `Page` that is being described.
3237

3338
```yaml
@@ -37,6 +42,7 @@ Default value: None
3742
```
3843
3944
### Labels
45+
4046
Contains a list of `Label`s that are assigned to the `Page`.
4147

4248
```yaml
@@ -48,4 +54,5 @@ Default value: None
4854
## METHODS
4955

5056
### ToString()
57+
5158
_No behavior of casting to string is defined._

0 commit comments

Comments
 (0)