Skip to content

Commit

Permalink
fix(docs): wing filename in comparison pages (#3843)
Browse files Browse the repository at this point in the history
The comparison to other solution pages shows `hello.js` file with wing code inside.

![](https://github.com/winglang/wing/assets/5693018/b2f7657b-1170-4410-9d33-cab8838715c4)


I believe it's by mistake and it should by `hello.w`


## Checklist

- [x] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [x] Description explains motivation and solution
- [ ] Tests added (always) - It's docs change
- [x] Docs updated (only required for features)
- [x] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
yoavbls authored Aug 16, 2023
1 parent 3a82aa6 commit ec5f4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/src/examples/function-upload-to-bucket/wing.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// We cannot parse the folder structure at runtime because of Docusaurus and webpack limitations

import wingHelloPath from '!file-loader?outputPath=docs!./wing/hello.w';
export default { name: "hello.js", path: wingHelloPath };
export default { name: "hello.w", path: wingHelloPath };

0 comments on commit ec5f4ce

Please sign in to comment.