Skip to content

Misc doc changes#2

Open
kianmeng wants to merge 4 commits into
flowerett:masterfrom
myfloss:misc-doc-changes
Open

Misc doc changes#2
kianmeng wants to merge 4 commits into
flowerett:masterfrom
myfloss:misc-doc-changes

Conversation

@kianmeng
Copy link
Copy Markdown

List of changes:

  • Set readme as default html doc page
  • Use common source url
  • Always get latest greatest ex_doc version
  • Badges and more badges!
  • Fix indentation

@flowerett
Copy link
Copy Markdown
Owner

Hello @kianmeng
Thank you for the contribution!
I didn't expect an input so fast, and already pushed a couple of changes to master, could you rebase?

List of changes:

- Set readme as default html doc page
- Use common source url
- Always get latest greatest ex_doc version
- Badges and more badges!
- Fix indentation
@kianmeng
Copy link
Copy Markdown
Author

Hello @kianmeng
Thank you for the contribution!
I didn't expect an input so fast, and already pushed a couple of changes to master, could you rebase?

@flowerett Done. 😃

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread mix.exs
Comment thread mix.exs
@kianmeng
Copy link
Copy Markdown
Author

@flowerett Let me know if there are additional changes. Feel free to amend it to your needs. Remember to squash all commits before merging. 😄

@kianmeng kianmeng requested a review from flowerett November 17, 2020 12:03
Comment thread README.md Outdated
```

## Basic Usage
<!-- MDOC !-->
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This looks hacky, not sure if I like this.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This looks hacky, not sure if I like this.

Removed.

Comment thread lib/ecto_vista.ex Outdated
Use the `refresh/0` function
It will run `REFRESH MATERIALIZED VIEW [view_name];` query.
#{
readme
Copy link
Copy Markdown
Owner

@flowerett flowerett Nov 17, 2020

Choose a reason for hiding this comment

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

Maybe we don't need all docs here, just a short introduction for the module.
But reading from file and removing injected stop keys seems to be too much.

Copy link
Copy Markdown
Author

@kianmeng kianmeng Nov 18, 2020

Choose a reason for hiding this comment

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

Maybe we don't need all docs here, just a short introduction for the module.
But reading from file and removing injected stop keys seems to be too much.

Agree. Since the generated doc for Ecto.Vista does not contains any information relevant to user like functions or callback list. See screenshot below.

image

Come to think of it, perhaps we should just simple ignore this Ecto.Vista and set it to @moduledoc false since it does not convey any helpful information (shown in screenshot above). Unless, you've plan to add more details?

I've set the main page back to readme since right now it contains all the usage doc.
Let me know.

@kianmeng kianmeng requested a review from flowerett November 18, 2020 15:57
Comment thread lib/ecto_vista.ex
Provides the macros and functions to define and manage
PostgreSQL views with Ecto.

## Using EctoVista
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I was just thinking again about it and come to conclusion that I would prefer more meaningful changes than just moving from one file to another.
If you don't mind I'll revert the docs part of your PR

@kianmeng
Copy link
Copy Markdown
Author

@flowerett Any updates on this?

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