Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,21 @@
"customizations": {
"vscode": {
"extensions": [
"tht13.rst-vscode",
"tomoki1207.pdf"
]
"lextudio.restructuredtext",
"trond-snekvik.simple-rst",
"streetsidesoftware.code-spell-checker",
"eamodio.gitlens",
"tomoki1207.pdf",
"yzhang.markdown-all-in-one",
"redhat.vscode-yaml"
],
"settings": {
"editor.rulers": [80],
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true
}
}
},
"postCreateCommand": "python3 -m pip install -r requirements.txt && python3 -m pip install sphinx-autobuild && cd build && composer install --ignore-platform-reqs"
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ developer_manual/_static/stoplight-elements.css
venv

# VScode
.vscode/
# Note: .vscode/ is intentionally tracked to share recommended settings and extensions
*.code-workspace

# Sublime Text
Expand Down
22 changes: 22 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"recommendations": [
// ReStructuredText support
"lextudio.restructuredtext",
"trond-snekvik.simple-rst",

// Spell checking for documentation
"streetsidesoftware.code-spell-checker",

// Git integration
"eamodio.gitlens",

// PDF viewer
"tomoki1207.pdf",

// Markdown support (for README files)
"yzhang.markdown-all-in-one",

// YAML support (for devcontainer and other config files)
"redhat.vscode-yaml"
]
}
40 changes: 40 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
// Editor settings for reStructuredText documentation
"editor.rulers": [80],
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80,
"editor.wrappingIndent": "same",

// File associations
"files.associations": {
"*.rst": "restructuredtext"
},

// Trim trailing whitespace
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,

// ReStructuredText specific settings
"[restructuredtext]": {
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80,
"editor.rulers": [80],
"editor.formatOnSave": false
},

// Search exclusions for better performance
"search.exclude": {
"**/_build": true,
"**/venv": true,
"**/.venv": true,
"**/node_modules": true,
"**/*.pdf": true
},

// File watcher exclusions
"files.watcherExclude": {
"**/_build/**": true,
"**/venv/**": true,
"**/.venv/**": true
}
}
63 changes: 63 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build All Documentation",
"type": "shell",
"command": "make all",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
},
{
"label": "Build HTML Documentation",
"type": "shell",
"command": "make html",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
},
{
"label": "Build PDF Documentation",
"type": "shell",
"command": "make pdf",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
},
{
"label": "Auto-build HTML (watch mode)",
"type": "shell",
"command": "make SPHINXBUILD=sphinx-autobuild html",
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
},
{
"label": "Clean Build",
"type": "shell",
"command": "make clean",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}
7 changes: 6 additions & 1 deletion admin_manual/installation/server_tuning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
Server tuning
=============

.. TODO: Add introductory paragraph
Server tuning helps optimize Nextcloud's performance, responsiveness, and resource utilization.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems to be unrelated

This guide covers various configuration options and best practices to improve your Nextcloud
server's efficiency. While a default Nextcloud installation works out of the box, implementing
these tuning recommendations can significantly enhance the user experience, especially for
larger deployments or systems with limited resources.

.. TODO: Sort according to (generalized) difficulty
.. TODO: Consider adding a category (or even table) with Impact vs Difficulty
Expand Down