Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63132830f6 | ||
|
|
720cb94133 | ||
|
|
3bfb237edf |
4 changed files with 18 additions and 9 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>victorykit.PSConfluencePublisher</id>
|
<id>victorykit.PSConfluencePublisher</id>
|
||||||
<title>PSConfluencePublisher</title>
|
<title>PSConfluencePublisher</title>
|
||||||
<version>1.0.1</version>
|
<version>1.0.2</version>
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description> Standalone Atlassian Confluence publisher component for the
|
<description> Standalone Atlassian Confluence publisher component for the
|
||||||
victorykit-xconfluencebuilder Sphinx extension, which is a (temporary )
|
victorykit-xconfluencebuilder Sphinx extension, which is a (temporary )
|
||||||
|
|
|
||||||
15
README.md
15
README.md
|
|
@ -1,7 +1,16 @@
|
||||||
# PSConfluencePublisher
|
# PSConfluencePublisher
|
||||||
|
|
||||||
|
> NOTE: Due to the functionality of `xconfluencebuilder` now being part of the
|
||||||
|
official
|
||||||
|
[sphinxcontrib-confluencebuilder](https://github.com/sphinx-contrib/confluencebuilder)
|
||||||
|
project, I am planning on refactoring to support [the official
|
||||||
|
integration](https://sphinxcontrib-confluencebuilder.readthedocs.io/en/latest/configuration/#confval-confluence_manifest_data).
|
||||||
|
I wanted to do so anyway, since I want the test suite to both support Pester
|
||||||
|
v3 and v5, which is a little tricky. The past committer is a pseudonym I've
|
||||||
|
used, which I will drop for future commits.
|
||||||
|
|
||||||
This program is a standalone publisher component for the
|
This program is a standalone publisher component for the
|
||||||
[victorykit-xconfluencebuilder](https://bitbucket.org/victorykit/xconfluencebuilder)
|
[victorykit-xconfluencebuilder (DEFUNCT)](https://bitbucket.org/tiaracodes/xconfluencebuilder)
|
||||||
Sphinx extension.
|
Sphinx extension.
|
||||||
|
|
||||||
It consumes, a JSON-formatted manifest of a *Sphinx build* dump generated by
|
It consumes, a JSON-formatted manifest of a *Sphinx build* dump generated by
|
||||||
|
|
@ -39,11 +48,11 @@ PS > Install-Module victorykit.PSConfluencePublisher
|
||||||
|
|
||||||
Alternatively, you can import the module from source. In order to do that,
|
Alternatively, you can import the module from source. In order to do that,
|
||||||
clone the
|
clone the
|
||||||
[Git repository](https://bitbucket.org/victorykit/psconfluencepublisher/src)
|
[Git repository](https://bitbucket.org/tiaracodes/psconfluencepublisher/src)
|
||||||
, change into the directory and import it.
|
, change into the directory and import it.
|
||||||
|
|
||||||
```
|
```
|
||||||
PS> git clone git@bitbucket.org:victorykit/psconfluencepublisher.git
|
PS> git clone git@bitbucket.org:tiaracodes/psconfluencepublisher.git
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ function New-Attachment
|
||||||
If (-Not $containerPageMeta)
|
If (-Not $containerPageMeta)
|
||||||
{
|
{
|
||||||
throw (
|
throw (
|
||||||
"Get-AttachmentMeta: ``$($attachmentMeta.Name)``: " +
|
"New-Attachment: ``$($attachmentMeta.Name)``: " +
|
||||||
"unable to lookup metadata for container page " +
|
"unable to lookup metadata for container page " +
|
||||||
"title ``$($attachmentMeta.ContainerPageTitle)``." +
|
"title ``$($attachmentMeta.ContainerPageTitle)``." +
|
||||||
"This is fatal."
|
"This is fatal."
|
||||||
|
|
@ -81,7 +81,7 @@ function New-Attachment
|
||||||
If (-Not $containerPageMeta.Id)
|
If (-Not $containerPageMeta.Id)
|
||||||
{
|
{
|
||||||
$errMsg = (
|
$errMsg = (
|
||||||
"Get-AttachmentMeta: ``$($attachmentMeta.Name)``: " +
|
"New-Attachment: ``$($attachmentMeta.Name)``: " +
|
||||||
"container page titled" +
|
"container page titled" +
|
||||||
"``$($attachmentMeta.ContainerPageTitle)`` " +
|
"``$($attachmentMeta.ContainerPageTitle)`` " +
|
||||||
"has no id, which means that the page has " +
|
"has no id, which means that the page has " +
|
||||||
|
|
@ -320,7 +320,7 @@ function Update-Attachment
|
||||||
If (-Not $containerPageMeta)
|
If (-Not $containerPageMeta)
|
||||||
{
|
{
|
||||||
throw (
|
throw (
|
||||||
"Get-AttachmentMeta: ``$($attachmentMeta.Name)``: " +
|
"Update-Attachment: ``$($attachmentMeta.Name)``: " +
|
||||||
"unable to lookup metadata for container page " +
|
"unable to lookup metadata for container page " +
|
||||||
"title ``$($attachmentMeta.ContainerPageTitle)``." +
|
"title ``$($attachmentMeta.ContainerPageTitle)``." +
|
||||||
"This is fatal."
|
"This is fatal."
|
||||||
|
|
@ -330,7 +330,7 @@ function Update-Attachment
|
||||||
ElseIf (-Not $containerPageMeta.Id)
|
ElseIf (-Not $containerPageMeta.Id)
|
||||||
{
|
{
|
||||||
$errMsg = (
|
$errMsg = (
|
||||||
"Get-AttachmentMeta: ``$($attachmentMeta.Name)``: " +
|
"Update-Attachment: ``$($attachmentMeta.Name)``: " +
|
||||||
"container page titled" +
|
"container page titled" +
|
||||||
"``$($attachmentMeta.ContainerPageTitle)`` " +
|
"``$($attachmentMeta.ContainerPageTitle)`` " +
|
||||||
"has no id, which means that the page has " +
|
"has no id, which means that the page has " +
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# Script module or binary module file associated with this manifest.
|
# Script module or binary module file associated with this manifest.
|
||||||
#RootModule = 'ConfluencePublisher.psm1'
|
#RootModule = 'ConfluencePublisher.psm1'
|
||||||
|
|
||||||
ModuleVersion = '1.0.1'
|
ModuleVersion = '1.0.2'
|
||||||
|
|
||||||
# Supported PSEditions
|
# Supported PSEditions
|
||||||
# CompatiblePSEditions = @()
|
# CompatiblePSEditions = @()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue