Skip to content

Conversation

@welteki
Copy link
Member

@welteki welteki commented Aug 4, 2025

Description

Add examples for adding static files to language docs for Node, Python and PHP.

Motivation and Context

  • I have raised an issue to propose this change (required)

Give an example of how to read static files from function templates.

How Has This Been Tested?

Verified the docs render correctly.
Ran the different code examples that were added.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s

Add examples for adding static files to language docs for node, python
and php.

Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
@alexellis alexellis merged commit 15de021 into openfaas:master Aug 4, 2025
4 checks passed
@welteki welteki deleted the static-files branch August 6, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants