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

fix building bug & add cd docs #12

Merged
merged 2 commits into from
Apr 14, 2022
Merged

fix building bug & add cd docs #12

merged 2 commits into from
Apr 14, 2022

Conversation

motahharm
Copy link
Contributor

Hi there.

there was an bug when i run hugo server -D:

Error: add site dependencies: load resources: loading templates: "/mnt/d/MainProject/the-secret-bit/themes/cupper-hugo-theme/layouts/partials/head.html:14:1": parse failed: template: partials/head.html:14: unclosed action

I fix this

and I add cd command docs but it is draft

@shabane
Copy link
Member

shabane commented Apr 14, 2022

hi =)
im too happy that you helped us to improve the book.

this error is due to that you need the cupper theme in the theme directory
you have two choice for this:

  1. download the theme into the directory manually
  2. or you can clone the repo with --recurse-submodules

the problem with the draft is that you should mark draft as false in the cp.md file.
to do this edit line 4 of your file.
thanks you again. i will issue some problems then we will merge your commit.


> - [مقدمه](#مقدمه)
> - [رفتن به یک دایرکتوری](#رفتن-به-یک-دایرکتوری)
> - [رفتن به پوشه های موجود](#رفتن-به-پوشه-های-موجود)
Copy link
Member

Choose a reason for hiding this comment

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

اینجا بهتره بگی رفتن به دایرکتوری های تو در تو


### رفتن به پوشه های موجود

اگه در پوشه ای قرار دارید که در آن پوشه های موجود دیگری باشند می‌توانید با دستور
Copy link
Member

Choose a reason for hiding this comment

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

پوشه های دیگری موجود باشند

Copy link
Contributor Author

Choose a reason for hiding this comment

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

اشتباه تایپی شده😬😆

<div dir='ltr'>

```
$ cd <DIR_NAME>
Copy link
Member

Choose a reason for hiding this comment

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

cd DIR1/DIR2/DIR3/

</div>
رفتن به پوشه مورد نظر خود را انجام دهید.

همچنین در هر دایرکتوری برای برگشت به دایرکتوری پدر خود با دستور
Copy link
Member

Choose a reason for hiding this comment

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

بجای پدر بنویسیم قبلی بهتره

Copy link
Member

Choose a reason for hiding this comment

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

و اینو اضافه کن که همیشه .. به پوشه قبلی اشاره می‌کنه.

@motahharm
Copy link
Contributor Author

Ok @shabane

i fix them.

@shabane shabane merged commit 5315e32 into bit-orbit:main Apr 14, 2022
@shabane
Copy link
Member

shabane commented Apr 14, 2022

thanks very much i appreciate you

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.

None yet

2 participants