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

docs folder is being used instead of dist folder for viewing the live preview of the site in the development environment of the local machine #1383

Open
chessmadridista opened this issue Jun 14, 2024 · 1 comment

Comments

@chessmadridista
Copy link
Contributor

chessmadridista commented Jun 14, 2024

Related to another issue?

Yes, #1379 on Github in this repo.


Describe this issue

  • A' docs' folder is created when the make run command is executed in the local machine to see the development version.
  • The dist folder should be used ideally when the make run command is executed.
  • It needs to be investigated why the docs folder is being used instead of the dist folder when generating a live preview of the site.

Observed behavior

When the make run command is executed, the live preview site is in the docs folder.


Expected behavior

When the make run command is executed, the live preview site should be present in the dist folder instead.


Proposed solution

Solution #1

  1. Investigate why the docs folder is being used instead of the dist folder. As a preliminary investigation, the Makefile can be a place to start.
  2. Make the necessary changes in the Makefile file.
  3. At the time of writing of this issue, it may have probably been included in the .gitignore file. If it is so, then perform the following steps:
    a) Remove docs from .gitignore.
    b) Also remove the associated comment in .gitignore.

Solution #2

According to this highlighted comment:

In config.toml file, I just need to change the path in line #8:
publishDir = "${new_path}"
Here new_path is the placeholder. Once I know the exact path, I will replace it here.

@chessmadridista
Copy link
Contributor Author

I would be happy to take up this issue.

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

No branches or pull requests

1 participant