Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Resources sidebar is created #46

Merged
merged 2 commits into from
Oct 6, 2022

Conversation

ziarparvaiz
Copy link
Contributor

πŸ› οΈ Fixes Issue

Closes: #3

πŸ‘¨β€πŸ’» Changes proposed

I created a contents folder, all documents are located there. And all sidebar files is on sidebars folder I used the plugin for the sidebar structure @docusaurus/plugin-content-docs as follows

plugins: [
    [
      "@docusaurus/plugin-content-docs",
      {
        id: "resources",
        path: "contents/resources",
        routeBasePath: "resources",
       sidebarPath: require.resolve("./sidebars/resources.js"),
        editUrl:
          "https://github.com/openprivacytech/openprivacytech.org/blob/main",
        editLocalizedFiles: true,
        showLastUpdateTime: true,
        showLastUpdateAuthor: true,
      },
    ],
  ],

βœ”οΈ Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

πŸ“· Screenshots

sidebarList

@souravcipher Please review it.

@netlify
Copy link

netlify bot commented Oct 6, 2022

βœ… Deploy Preview for openprivacytech ready!

Name Link
πŸ”¨ Latest commit 4912b9c
πŸ” Latest deploy log https://app.netlify.com/sites/openprivacytech/deploys/633f31e2381e2c000ae724ea
😎 Deploy Preview https://deploy-preview-46--openprivacytech.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@souravcipher
Copy link
Member

souravcipher commented Oct 6, 2022

Awesome work @ziarparvaiz! Could you please fix the branch conflict?

@ziarparvaiz
Copy link
Contributor Author

ziarparvaiz commented Oct 6, 2022

Awesome work @ziarparvaiz! Could you please fix the branch conflict?

I deleted this file src/pages/resources.md I got its content in ./contents/resources/intro.md I don't know why it conflicted you can check it

@souravcipher
Copy link
Member

Resolved - Thanks for the PR @ziarparvaiz! πŸŽ‰

I have another issue you might be interested!

I also looked at your project and it's looking awesome, especially the gradient background, it changed the look of the whole UI.

I have created issue #47 if you may be interested to discuss and contribute!

@souravcipher souravcipher merged commit 83d4dd7 into openprivacytech:main Oct 6, 2022
@ziarparvaiz ziarparvaiz deleted the sidebarList branch October 6, 2022 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create sidebar for Resources
2 participants