Skip to content

Commit 28be66e

Browse files
Documentation for groupdocs-conversion-net package version 26.3
1 parent da388ed commit 28be66e

66 files changed

Lines changed: 3216 additions & 641 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
deploy_key
22
.DS_Store
3-
.idea/
3+
.idea/
4+
*.lic

.vscode/settings.json

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

build_docs.cmd

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ set PRODUCT=conversion
22

33
call git submodule update --init --recursive
44
call git submodule foreach git pull origin master
5-
xcopy java common\content\%PRODUCT%\java /s /e /Y /i
6-
xcopy net common\content\%PRODUCT%\net /s /e /Y /i
7-
xcopy nodejs-java common\content\%PRODUCT%\nodejs-java /s /e /Y /i
8-
xcopy python-net common\content\%PRODUCT%\python-net /s /e /Y /i
9-
xcopy _index.md common\content\%PRODUCT%
5+
6+
REM Use robocopy /MIR to mirror the source into common/content — unlike xcopy,
7+
REM /MIR removes files in the destination that no longer exist in the source,
8+
REM so moved/renamed pages don't leave stale copies behind that cause Hugo
9+
REM REF_NOT_FOUND or 404s on _output_files downloads.
10+
robocopy java common\content\%PRODUCT%\java /MIR /NFL /NDL /NJH /NJS /NP
11+
robocopy net common\content\%PRODUCT%\net /MIR /NFL /NDL /NJH /NJS /NP
12+
robocopy nodejs-java common\content\%PRODUCT%\nodejs-java /MIR /NFL /NDL /NJH /NJS /NP
13+
robocopy python-net common\content\%PRODUCT%\python-net /MIR /NFL /NDL /NJH /NJS /NP
14+
xcopy _index.md common\content\%PRODUCT% /Y
1015
cd common
1116
call hugo server
12-

build_docs.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ export PRODUCT=conversion
33

44
git submodule update --init --recursive
55
git submodule foreach git pull origin master
6-
mkdir -p common/content/$PRODUCT/java && cp -r java common/content/$PRODUCT/
7-
mkdir -p common/content/$PRODUCT/net && cp -r net common/content/$PRODUCT/
8-
mkdir -p common/content/$PRODUCT/nodejs-java && cp -r nodejs-java common/content/$PRODUCT/
9-
mkdir -p common/content/$PRODUCT/python-net && cp -r python-net common/content/$PRODUCT/
10-
cp -r _index.md common/content/$PRODUCT
6+
7+
# Use rsync --delete to mirror the source into common/content — unlike cp -r,
8+
# --delete removes destination files that no longer exist in the source, so
9+
# moved/renamed pages don't leave stale copies that cause Hugo REF_NOT_FOUND
10+
# errors or 404s on _output_files downloads.
11+
for sub in java net nodejs-java python-net; do
12+
mkdir -p "common/content/$PRODUCT/$sub"
13+
rsync -a --delete "$sub/" "common/content/$PRODUCT/$sub/"
14+
done
15+
cp _index.md "common/content/$PRODUCT/"
1116
cd common
1217
hugo server

python-net/_index.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,39 @@ id: home
33
url: conversion/python-net
44
title: GroupDocs.Conversion for Python via .NET
55
weight: 1
6-
description: "GroupDocs.Conversion for Python via .NET is a document conversion API that enables easy conversion of popular file formats, including DOCX, XLSX, PPTX, PDF, CAD drawings, and many more."
7-
keywords: GroupDocs.Conversion for Python via .NET, document conversion, convert files, Python, file format conversion
6+
description: "Native Python library that converts documents between 10,000+ format pairs — DOCX, PDF, XLSX, PPTX, images, CAD, email, and archives — on Windows, Linux, and macOS. No Microsoft Office or Adobe Acrobat required."
7+
keywords: GroupDocs.Conversion, Python via .NET, document conversion, convert files, PDF, DOCX, XLSX, PPTX, CAD, image, email, archive, eBook, on-premise, Windows, Linux, macOS
88
productName: GroupDocs.Conversion for Python via .NET
99
hideChildren: true
10+
toc: True
1011
structuredData:
1112
showOrganization: true
1213
---
1314

1415
<img src="/conversion/python-net/_images/home.svg" alt="groupdocs-conversion-python-via-net-home" align="left" style="width:110px; margin: 0 30px 30px 0"/>
1516

16-
{{< button style="primary" link="https://releases.groupdocs.com/conversion/python-net/release-notes/" >}} <svg class="gdoc-icon gdoc-product-doc__btn-icon"><use xlink:href="/img/groupdocs-stack.svg#document"></use></svg> Release notes {{< /button >}}
17-
{{< button style="primary" link="https://releases.groupdocs.com/conversion/python-net/" >}} {{< icon "gdoc_download" >}} Download package {{< /button >}}
18-
{{< button style="primary" link="https://products.groupdocs.app/conversion/total" >}} <svg class="gdoc-icon gdoc-product-doc__btn-icon"><use xlink:href="/img/groupdocs-stack.svg#app"></use></svg> Online app {{< /button >}}
17+
<img src="https://img.shields.io/pypi/v/groupdocs-conversion-net?label=GroupDocs.Conversion%20PyPI" alt="PyPI package">
18+
<img src="https://img.shields.io/pypi/dm/groupdocs-conversion-net?label=pypi%20downloads" alt="PyPI downloads">
19+
20+
{{< button style="primary" link="https://releases.groupdocs.com/conversion/python-net/release-notes/" >}} <svg class="gdoc-icon gdoc-product-doc__btn-icon"><use xlink:href="/img/groupdocs-stack.svg#document"></use></svg> Release notes {{< /button >}}
21+
{{< button style="primary" link="https://pypi.org/project/groupdocs-conversion-net/" >}} {{< icon "gdoc_download" >}} Download from PyPI {{< /button >}}
22+
{{< button style="primary" link="https://products.groupdocs.app/conversion/total" >}} <svg class="gdoc-icon gdoc-product-doc__btn-icon"><use xlink:href="/img/groupdocs-stack.svg#app"></use></svg> Online app {{< /button >}}
1923

2024
[GroupDocs.Conversion for Python via .NET](https://products.groupdocs.com/conversion/python-net/) is a document conversion API that enables easy conversion of popular file formats, including DOCX, XLSX, PPTX, PDF, CAD drawings, and more. It preserves layout and formatting, offering extensive customization options for each format.
2125

26+
<div style="clear:left"></div>
27+
28+
## Quick example
29+
30+
```python
31+
from groupdocs.conversion import Converter
32+
from groupdocs.conversion.options.convert import PdfConvertOptions
33+
34+
# Convert a DOCX file to PDF
35+
with Converter("business-plan.docx") as converter:
36+
converter.convert("business-plan.pdf", PdfConvertOptions())
37+
```
38+
2239
## Features
2340

2441
- **Wide Format Support**: Supports over 10,000 conversion pairs across popular formats like Microsoft Office, PDF, HTML, and more.
@@ -27,7 +44,7 @@ structuredData:
2744

2845
## Supported File Formats
2946

30-
GroupDocs.Conversion supports a wide range of file formats. For a complete list, see the [full list of supported formats]({{< ref "conversion/python-net/supported-file-formats" >}}).
47+
GroupDocs.Conversion supports a wide range of file formats. For a complete list, see the [full list of supported formats]({{< ref "conversion/python-net/getting-started/supported-document-formats.md" >}}).
3148

3249
- **Microsoft Office** (Word, Excel, PowerPoint)
3350
- **PDF** (Standard PDFs, PDF/A)
@@ -42,7 +59,7 @@ GroupDocs.Conversion supports a wide range of file formats. For a complete list,
4259

4360
## Getting Started
4461

45-
To get started, refer to the [System Requirements]({{< ref "conversion/python-net/system-requirements" >}}), [Supported File Formats]({{< ref "conversion/python-net/supported-file-formats" >}}), [Installation]({{< ref "conversion/python-net/getting-started/installation" >}}), and [Quick Start Guide]({{< ref "conversion/python-net/getting-started/quick-start-guide" >}}) sections for setup instructions.
62+
To get started, refer to the [System Requirements]({{< ref "conversion/python-net/getting-started/system-requirements.md" >}}), [Supported File Formats]({{< ref "conversion/python-net/getting-started/supported-document-formats.md" >}}), [Installation]({{< ref "conversion/python-net/getting-started/installation" >}}), and [Quick Start Guide]({{< ref "conversion/python-net/getting-started/quick-start-guide" >}}) sections for setup instructions.
4663

4764
## Developer Guide
4865

0 commit comments

Comments
 (0)